Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I have table with ID,PRD_DT,PRD_FLAG,CUST_DT,CUST_FLAG
I need to get max date and its corresponding flag for both the date columns.

Ex:-
1A,10/3/2015,AC,10/3/2015,XY
1A,10/4/2015,AB,10/2/2015,XZ

Output needed
1A,10/4/2015,10/3/2015,XY

I have 100 million + in the table so avoid self-join...

Answer Posted / kiran

Use aggregator transformation and check group by for ID Column and use max function for both the dates.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mine is Insurance Domain, So interviewer asked about terms like underwriting, disbursement amt, Reinsurance

1950


How many dimensions are there in informatica?

1023


What is depict expression change?

1027


How identifying bottlenecks in various components of informatica and resolving them?

1055


Can some one explain me about Telecommunications(wireless) project in Informatica? Thanks in advance

1925


how tokens will generate?

2152


What could be the possible resons of locks by user?

1032


What is complex mapping?

1067


State the limitations where we cannot use joiner in the mapping pipeline?

993


What does refresh system mean, and what are its distinctive choice?

1071


What is the meaning of up gradation of repository?

1895


Does an informatica transformation support only aggregate expressions?

969


what are factless facts? And in which scenario will you use such kinds of fact tables.

1739


What is workflow monitor?

997


What is update strategy transform?

1014