Creating a Joiner Transformation and Viewing the Transformation Results
Creating a Joiner Transformation and Viewing the Transformation Results
You can create a Joiner transformation to view all the customers residing in a particular ZIP code location. You must connect the ports from the physical data objects to the Joiner transformation, and connect the ports from the Joiner transformation to the logical data object. You can view the Joiner transformation results in the
Data Viewer
view.
In the
Object Explorer
view, select the
Customer_LDO
data object, and click
Read Mapping
tab.
The
Read Mapping
view appears.
In the
Read Mapping
canvas, drag and drop the
Customer_IB
physical data object.
The
Add to Mapping
dialog box appears.
The following image shows the
Add to Mapping
dialog box:
In the
Add to Mapping
dialog box, select
Read
, and click
OK
.
The
Customer_IB
physical data object appears in the
Read Mapping
tab.
Similarly, drag and drop the
Customer_NB
physical data object into the
Read Mapping
tab.
The following image shows the
Customer_IB
,
Customer_NB
,
Customer_LDO
data objects in the
Read Mapping
tab.
In the
Read Mapping
tab, click
Joiner
transformation.
Drag the
Lastname
,
Firstname
, and
ZIP
in the
Read_Customers_IB
to
Master
in the
Joiner
. Similarly, drag the
Lastname
,
Firstname
, and
ZIP
in the
Read_Customers_NB
to
Detail
in the
Joiner
transformation.
Click
Joiner
transformation, and click
Join
in
Properties
view.
Enter the join condition as
ZIP=ZIP1
.
The following image shows the
Properties
view for the
Joiner
transformation with the join condition:
Drag the
Lastname
,
Firstname
,
Lastname1
, and
Firstname1
ports to the
Customer_LDO
data object.
The following image shows the Joiner transformation and the logical data object in the
Read Mapping
tab:
Right-click the Joiner transformation, and click
Run Data Viewer
to preview data.
Informatica Developer displays the data in the
Output
section of the
Data Viewer
view. The
Output
section shows the combined data from the
Read_Customers_IB
source and
Read_Customers_NB
source.
The following image shows the results for the join condition in the