You are on page 1of 12

INFORMATICA

•ROUTER TRANSFORMATION
•DIFFRENCE BETWEEN FILTER AND ROUTER
•HETEROGENEOUS TARGETS
•MAPPING -6 ROUTER EXAPMPLE-1
•MAPPING -7 ROUTER EXAPMPLE-2
Router Transformation
(Active & Connected)

Router transformation is an active transformation, which will be used


when we have multiple filter conditions.

Router transformation have multiple output groups, Single input


group and single Default group.
Router Transformation
 A Router transformation is similar to a Filter transformation because
both transformations allow you to use a condition to test data.
 A Filter transformation tests data for one condition and drops the rows
of data that do not meet the condition. However, a Router
transformation tests data for one or more conditions and gives you
the option to route rows of data that do not meet any of the
conditions to a default output group.
 If you need to test the same input data based on multiple conditions,
use a Router transformation in a mapping instead of creating multiple
Filter transformations to perform the same task.
 when you use a Router transformation in a mapping, the Integration
Service processes the incoming data only once. When you use
multiple Filter transformations in a mapping, the Integration Service
processes the incoming data for each transformation.
Router Transformation

Rows sent to multiple filter conditions

Active Transformation
Connected
Ports
All input/output
Specify filter conditions
for each Group
Usage
Link source data in one
pass to multiple filter
conditions
Router Groups

 Input group (always one)


 User-defined groups
 Each group has one condition
 ALL group conditions are evaluated for
EACH row
 One row can pass multiple conditions
 Unlinked Group outputs are ignored
 Default group (always one) can capture
rows that fail all Group conditions
Router Transformation in a Mapping
DIFFERENCE FILTER & ROUTER
Definition: Heterogeneous Targets
Supported target definition types:
 Relational database
 Flat file
 XML
 Targets supported by PowerCenter Connects

Heterogeneous targets are targets within a single


Session Task that have different types or have different
database connections
Step One: Identify Different Target Types

Oracle table

Tables are EITHER in two Oracle table


different databases, or
require different (schema-
specific) connect strings

One target is a flat file load Flat file


Step Two: Different Database Connections

The two database


connections are
different

Flat file requires


separate location
information

You might also like