there is a product table
prodid prodname price
100 cinthol 10
101 hamam 10
102 neem 20
103 cake 30
in the above table the price of some products are
duplicated and some product prices are distinct we want to
push the duplicated prices to one target and non-duplicated
prices to other target without using expression and
sequence generator transformation
Answers were Sorted based on User's Feedback
Answer / arjun
we can take a lkp on source in that we can give cndtion id!=id_in and price=price_in so we can get repeated price in one table
and for the distinct prices we take one aggrtr and in that count on some variable and group by price after that in filter cndtion not isnull(var)= true so that we can distinct values
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ankit kansal
Use a Rank Transformation and calculate rank on the group by basis on price and then using any router route your data to two different outputs.
http://deepinopensource.blogspot.in/
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / akash
This requirement can be met by using an aggregator and then
a router.
In the aggregator use grouping on key fields if key
repetition is to be tested. For Ex:
100 cinthol 10
100 dettol 20
If whole record should be duplicated like:
100 cinthol 10
100 cinthol 10
use group by on all fields and take records count for each
group.
In router use condition:
If record count > 1 send records to duplicate target.
Default can be sent to other target.
Is This Answer Correct ? | 0 Yes | 2 No |
suppose a session is failed after a transformation , from where that session will run again , i.e . from beginning or from that transformation ?
How the Informatica Server reads perameter file?
How could we generate the sequence of key values without using sequence generator transformation in the target ??
12 Answers TCS, Tech Mahindra,
Can you start a session inside a batch individually?
Using Informatica Visio to generate mappings. I am getting error "Table Definition Not Found Exception Error" while importing the template.
If i have one source having 10 ports.In a mapping i use that source one target having that ten ports.Data from 5 ports are going to target through a mapplet and another 5 ports are going to target through another mapplet.Both 2 mapplets are intially passive in nature.But presently my requirment to convert on mapplet to ACtive.How can i do it.
What is the need of etl tools?
I am not able to connect to the domain with the client although all services and databases are up and there is no network issue?
How to do Integration testing in Informatica?
What are the technical challenges faced in Informatica production support member? Give any one example and how to solve it?
What is the difference between the system variables $$$SessStartTime and SESSSTARTTIME?
How do you implement configuration management in Informatica?