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...

If the source has duplicate records as id and name columns,
values: 1 a, 1 b, 1 c, 2 a, 2 b,the target shd be loaded as
1 a+b+c or 1 a||b||c, what transformations shd be used for
this?

Answer Posted / rajesh.a

We need to use sorter,Expression and aggregator transformations to do this

1.Sort by ID
2.Take 2 variable ports one for id and one for name and store the values of id and keep on comparing with current id i.e variable is having previous id.
so,if previous id=current id then (variable name)||name otherwise only name.assign the variable name to output port
3.Use aggregator and use last or max(len(name)) to get the result

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

in staging we are merging the data and remove the inconsistants data that type of situation what u will done and type of functions u can use

2070


What are the different lookup cache(s)?

1167


Hello, Can you please send the admin and advanced mapping design sample questions to ns_sharmin@yahoo.com?

2407


How to join three sources using joiner?

1194


What is complex mapping?

1171


Explain lookup transformation in informatica

1129


How to create the list file having millions of flat files while indirect loading in informatica? In indirect file loading, suppose we have less no.of flat files then we can enter files names manually in list file creation. If millions of files are there, how can we enter the flat file names in list file?

2028


How to generate sequence numbers using expression transformation?

1148


What is a pre-defined event and user-defined event?

1082


How many transformations can be used in mapplets.

1983


Why update strategy and union transformations are active? Explain with examples.

1284


What does reusable transformation mean?

1192


What are the basic requirements to join two sources in a source qualifier transformation using default join?

1212


How to elaborate tracing level?

1217


What is intricate mapping?

1311