The Filter
transformation provides the means for filtering rows in a mapping. You pass all
the rows from a source transformation through the Filter transformation, and
then enter a filter condition for the transformation. All ports in a Filter transformation
are input/output, and only rows that meet the condition pass through the Filter
transformation.
In some cases, you
need to filter data based on one or more conditions before writing it to
targets. For example, if you have a human resources data warehouse containing
information about current employees, you might want to filter out employees who
are part-time and hourly.
The mapping passes the rows from a human resources table that contains employee data
through a Filter transformation. The filter only allows rows through for
employees that make salaries of $30,000 or higher.
Comments
Post a Comment