Ab Initio Transform Components: We Have An Total of 13 Transformation Components
Ab Initio Transform Components: We Have An Total of 13 Transformation Components
In this all 13 transformation components we are using 9 of them mostly. They are
1. Filter by expression.
2. Reformat.
3. Roll-up.
4. Join.
5. Normalizer.
6. Scan.
7. Multi reformat.
8. Aggregate.
9. Ded-up sorted.
1) Filter by expression: by using this transformation component we can get
the only output data which satisfy the filter condition.
We have one output and one deselected port. The data which satisfy
the condition will go to output port and data which doesn’t satisfies
the condition will go to deselect port.
For every output we have error and reject ports. Which will the details
of error and the records which got rejected.
o Never abort: If we are using this option then the graph will not
stops the execution if the more than 50% of records also get
rejected.
Input:
Emp id Ename Dep Manager salary
t
TSIPL1538 JANI ETL SAGAR 20000
P&S
TSIPL1539 ARAVIND ETL SAGAR 25000
P&S
TSIPL1540 KONDA ETL SAGAR 25000
REDDY P&S
Output:
Empid Ename Dept Manager salary
TSIPL1539 ARAVIND ETL SAGAR 25000
P&S
TSIPL1540 KONDA ETL SAGAR 25000
REDDY P&S
We can give get different outputs through the different output ports by
using the DML expressions.
We can find out the value of the non-existing port by using the
existing port data for the individual record.
This select parameter will act as where clause in SQL. The only data
which will satisfy the select parameter condition will come into the
transformation component.
The data which satisfies the output index condition will go through
the transformation component and execute the code which we have
specify in the transform option.
First the select statement will execute then the index parameter will
execute.
INPUT:
3) Roll-up: By using this transformation component we can find out the value
for non-existed port by using the data of existed port by grouping the data.
For example if we have 1000 records in one table and these 1000
records have 10 different department numbers then in the output we
have only 10 different records if we group the data by department
number.
INPUT:
OUTPUT:
DEPTNO MANAGE SALARY MIN MAX AVG
R SAL SAL SAL
10 SAGAR 45000 20000 25000 22500
20 VIDYA 50000 15000 25000 20000
SAGAR
4) Join: By using this component we can join the data of two or more than two
inputs by specifying one key.
By using this component we can join the data from all the inputs
based upon a particular condition.
If the field name was different in different tables then we need specify
it at over-ride key.
We can create and use user defined functions also in this component.
Input-1
Empi Ena Jo Dep sal
d me b tno ary
Tsipl1 Jani Et 10 200
538 l 00
p
&
s
Tsipl1 Arav Et 10 250
539 ind l 00
p
&
s
Empid 1 Manager Hiredate
Tsipl1538 sagar 4-june
Tsipl1539 Sagar 6-june
Tsipl1540 Sagar 15-march
Tsipl1541 Sagar 4-june
Tsipl1 Kon Et 10 250
540 da l 00
redd p
y &
s
Tsipl1 Shai Et 10 150
541 k l 00
p
&
s
Input-2
Output:
Empid Ename Job Deptno Salary Manager hiredate
Input:
Empid Ename Job Deptno Mont Salary
h
Tsipl 1538 Jani Etl 10 June 14000
p&s
Tsipl 1539 Aravind Etl 10 June 14000
p&s
Tsipl 1538 Jani Etl 10 July 14000
p&s
Tsipl 1539 Aravind Etl 10 July 14000
p&s
Tsipl01540 Konda Etl 10 July 14000
reddy p&s
Output:
7) Multi reformat: this component will also works as same as multi reformat.
If we are using more than one output by increasing the count parameter then
we call that reformat as multi reformat.
8) Aggregate: this component will act as same as roll-up but this component
doesn’t have select and output parameter options. We recommend roll-up
more than aggregate because it provides more operations then the aggregate
component.
9) Dedup sorted: this component is used as a filter for duplicate records. If any
file will have same record for multiple times then by using this component
we can get only one output and the remaining duplicate records are not be
written to the output.