Informatica
Router Transformation in Informatica: Multiple Conditions Example
What is Router Transformation? Router transformation is an active and connected transformation which is...
Source qualifier transformation is an active, connected transformation which is used to represent the rows that the integrations service read. Whenever we add a relational source or a flat file to a mapping, a source qualifier transformation is required. When we add a source to a mapping, source qualifier transformation is added automatically. With source qualifier, we can define and override how the data is fetched from the source.
In the following example we would be modifying source qualifier of our mapping "m_emp_emp_target", so instead of returning all the columns it will return only selected columns.
Step 1 – Open mapping "m_emp_emp_target" in mapping designer.
Step 2 – Double click on the source Qualifier transformation "SQ_EMP". It will open edit transformation property window for it. Then
Step 3 – In the SQL editor window
SELECT EMPNO, ENAME, JOB, MGR FROM EMP
Note – we are selecting the columns EMPNO, ENAME, JOB & MANAGER from the source, so we have kept only those in the select query
Step 4 – In the "edit transformations" window,
Step 5 – After deletion of ports, Select OK Button
Now, again click on properties tab in Edit Transformations window, and you will see only those data that you have selected.
When you click on "OK" button it will open SQL Editor Window, and
Save the mapping (using ctrl+s Shortcut) and execute the workflow, after execution only the selected columns will be loaded into the target.
In this way, you can override in source qualifier what columns needs to be fetched from the source & this is the only way to override what specific columns will be brought inside the mapping.
You can use various properties of Source Qualifier, to determine what type of source data needs to transform to target table.
As data can be sorted based on a single or multiple ports, you have to give the number of ports which will be used in sorting. If you give value as 1, then only empno data will be sorted. If you give value as 2 then on empno and ename on both columns data will be sorted.
What is Router Transformation? Router transformation is an active and connected transformation which is...
What is Transaction Control Transformation? Transaction Control is an active and connected...
What is Joiner Transformation? Joiner transformation is an active and connected transformation that provides...
As we discussed in previous topics, a mapping is a collection of source and target objects linked...
In ETL/Data Warehouse, you will encounter different sources and targets. A Source in ETL is an...
After installing Informatica server and client, Informatica server needs to be configured. The...