Talend Tutorial6 Joining Two Sources of Data
Talend Tutorial6 Joining Two Sources of Data
c. To rename the link between the source component and tMap components, click the link
twice and type movies. Similarly, rename the other link as directors.
d. To open the tMap component wizard, double-click the component.
Note that in the left section of the wizard, both movies and directors are listed as inputs to
the tMap component.
e. To create a new output data flow, in the output section of the tMap wizard, click the [+]
button. Name the new output as joinedOutput and click OK.
A blank output data flow is created.
f. To add the movieID, title, releaseYear, and url fields to the output data flow, select the
four fields from the movies input and drop them on the output data flow. Similarly, add
the directorName field to the output data flow from the directors input.
g. To configure the join, select the directorID column in the movies table and drag it to the
directorID column of the directors table.
Note: Some movies show no director name. These movies had no directorID.
In contrast, you can configure the join in tMap as an inner join, which only displays rows
where the join condition is satisfied.