Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

AGGREGATOR TRANSFORMATION

 ACTIVE
 CONNECTED

 WE CAN USE AGGREGATE FUNCTIONS IN AGGREGATOR TRANSFORMATION ONLY

 GENERATES CACHE

 DATA CACHE (.dat)


 INDEX CACHE (.idx)

 GROUP BY PORT IS there in AGGR TRF

 IN AGGREGATOR TRANSFORMATION IF WE DON'T CHOOSE GROUP BY PORT IT GIVES ONLY LAST


RECORD OF THE SOURCE

Create a mapping for aggregator transformation in mapping designer


Drag and drop source definition to mapping designer

Drag and drop Target definition


Now Click on Transformation tab  Create

Choose Aggregator and provide some name as shown below

Mapping looks as shown below.


We are going to get SUM salary by department

Now Edit Aggr transformation  Ports tab

Add New port  make it output port

Edit output port

Now check GroupBy port box for Department_id


APPLY  OK

Mapping looks as below.

Now Create a session and workflow then execute the work flow

Properties Tab

 Sorted input which will improve aggregator transformation performance.


 We need make sure that Group by ports must be in sorted order to use sorted input (use sorter
transformation)

You might also like