The Aggregator transformation
The Aggregator transformation is used for calculations using aggregate functions in a column as opposed to the Expression transformation that is used for row-wise manipulation.
You can use aggregate functions, such as SUM
, AVG
, MAX
, and MIN
, in the Aggregator transformation.
Use the EMPLOYEE
Oracle table as the source and get the sum of the salaries of all employees in the target.
Perform the following steps to implement the functionality:
- Import the source using the
EMPLOYEE
Oracle table in Source Analyzer and create theTGT_TOTAL_SALARY
target in Target Designer. - Create the
m_AGG_TOTAL_SALARY
mapping and drag the source and target from the navigator to the workspace. Create the Aggregator transformation with theAGG_TOTAL_SAL ...
Get Learning Informatica PowerCenter 9.x now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.