Hello,

I have the below table:

CityID CityName CostOfLiving
1 Mumbai 5000
1 Bangalore 4500
1 Chennai 4800
2 Vapi 6000
3 New Delhi 8000

I am passing the rows of the above table through the
aggregator transformation in Informatica

What happens in the following conditions:
1) I specify no group-by ports?
2) I specify a group-by on CityID without making any
separate post for aggregation? Which city and costofliving
will this eventually take for CityID=1?
3) Rest being same as point 2,I take the sum of cost of
living.Which city will be returned for ID=1?

Thanks for your help!


Answer Posted / kapil

Aggr transformation returns last row of each block or each
group. So here are the ans
Output of Case 1)
3 New Delhi 8000

Output of Case 2)
1 Chennai 4800

Output of Case 3)
1 Chennai 14300

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the advantage of informatica?

657


What are the prerequisite tasks to achieve the session partition?

722


Explain lookup transformation in informatica

655


How you prepared reports for OLAP?

1164


Enlist the tasks for which source qualifier transformation is used.

598






Some flat files are there, out of these having some duplicate. How do you eliminate duplicate files while loading into targets?

1333


What is domain in terms of informatica?

572


What is Index Caches size?

629


i had a source containing business,sales,details column and i have to load it to a target but i have some bad records in it , but i have to load 70% of business records and 50% of sales and 95% of details records excluding bad records to achieve this what should be done and what all logic and tx should be used can anyone help? thanks in advance

1681


I have 10 columns in a flat file and 10 rows corresponding to that columns. I want column number 5 and 6 for last five records. In unix as well as informtica.

1216


What is the need for an etl tool?

647


What do you mean by enterprise data warehousing?

663


Define update strategy?

645


Clarify the utilization of aggregator cache record?

584


Why union transformation is an active transformation?

665