Perform the following
configuration steps before you run the updated job:
-
Click Control
Flow in the Details pane to
place the transformations in the proper order.
The following display
shows the uncorrected transformation order:
-
Reorder the transformations so that the newly added Sort transformation comes before
the Splitter transformation. This action makes the control flow order match the order
that is displayed in the job flow on the Diagram tab.
-
Open the properties
window of the Sort transformation. Then, specify the sort criteria
on the Sort By Columns tab. For example,
you can specify an ascending sort on the Weight column.
-
Right-click the Sort
transformation and select the Propagate Columns item
in the pop-up menu. Set the propagation flow to From Selected
Transformation’s Sources and To Targets.
-
Open the properties window of the Splitter transformation that was in the original
job. Then, check the settings on the Mapping tab.
If necessary, click Map all columns to map
between the added Sort transformation and the original Splitter transformation.
Now you can run the job and check the output.
As expected, the data from the
source table has been sorted by weight and split into separate tables for male and female
employees. The Sort transformation has been successfully added to the job flow.