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

suppose if we have dublicate records in a table temp n now
i want to pass unique values to t1 n dublicat values to t2
in single mapping using aggregator & router? how

Answer Posted / reddevilzzzz

@ Shalu
Your answer is almost correct. The question says, you have
to use Aggregator transformation.
Select all the rows from SQ.
Pass them to aggregator transformation. Group By on all
ports.
Create a Output port in Aggregator(lets call it TOTAL) and
give expression as COUNT(Col1).
Create a Router transformation, with 2 groups. In one group
(lets call it UNIQUE), put condition as TOTAL = 1.
In another group (lets call it DUPLICATES), put condition
as TOTAL>=2.
Pass the output from UNIQUE group to table where we want
unique rows.
Pass the output from DUPLICATE group to table where we want
duplicate rows.

P.S - tried and tested :):)

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an expression transformation?

1080


What are the types of presistent cache in look up tr.

2105


What is the surrogate key?

1365


What are the main issues while working with flat files as source and as targets ?

1219


What are the components of workflow manager?

1159


What happens to map if we alter the datatypes between source and its corresponding source qualifier?

1125


if i hv 6 table as source table but can i make 12 as a dim table and 6 as fact table belongs to that src table.

2250


How to Create a folder using pmrep command?

1222


what is the size ur source like(file system or database)? how many record daily come u r banking project?

2193


What is the format of informatica objects in a repository?

1076


Describe expression transformation?

1170


How many transformations can be used in mapplets.

1983


wat are deployement groups in informatica, how it will be used for developers

1776


What is Story point Estimation ? Can any one give just an introduction about this ? Advance Thanks

5794


What is the use of target designer?

1118