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


After a load is done to my target table, I need to insert a
last row, which might be formed at some expression
transformation and brought to target. Do I have to have
separate mapping to be run after the 1st mapping? Or in a
single mapping how to achieve this?

Answer Posted / priyank

Use the below pipeline.

SQ -->EXP1-->EXP2-->EXP3------------------> UNION --> TGT
--> SEQ --> AGG --> FLT --> EXP4

1. SEQ: Use a Sequence Generator to generate sequence.
Connect the NEXTVAL port to exp2.
2. From EXP2, take out 2 pipelines, one with actual data and
one with next val.
3. In AGG, COUNT(*).
4. In FLT, NEXTVAL=COUNT(*)
5. In UNION, merge EXP3 and EXP4
6. Push the output from UNION to TGT.

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

1618


is it possible to index the data in cache of lkp transformation ?

2016


what are the best practices to extract data from flat file source which are bigger than 100 mb memory?

2334


Suppose we do not group by on any ports of the aggregator what will be the output?

1029


Which means the first record should come as last record and last record should come as first record and load into the target file?

1058


What are the prerequisite tasks to achieve the session partition?

1227


What is a standalone command task?

1179


What is the need for an etl tool?

1053


Tell me can we override a native sql query within informatica? Where do we do it? How do we do it?

1040


In informatica workflow manager, how many repositories can be created?

1332


How do you handle two sessions in Informatica

1127


Can we create a Integration service without a Repository service and vice versa?

1204


Which files are created during the session rums by informatics server?

1152


How we can create indexes after completing the loan process?

1185


what is the Default Source Option For Update Strategy Transformation?

1218