Router T/R is active but some people are saying it is also
passive which is exactly right?

Answers were Sorted based on User's Feedback



Router T/R is active but some people are saying it is also passive which is exactly right?..

Answer / rajesh.a

Hi,

Router is Active Transformation only.Take a small example.Lets say emp table is having salaries between 1000 and 2000.and no.of records of salary 1000 is 5 and no.of records of salary 2000 is 5 and no.of records of salary 1500 is 5 .
Now in Router we will create 2 groups and and conditions are 1group-salary >=1000 and salary <=1500 --will give 10 rows
2group-salary >=1500 and salary <=2000 --will give 10 rows
so input rows are 15 and output rows are 20.So there is a change in no.of.rows between input and output.So Router is active

Is This Answer Correct ?    21 Yes 3 No

Router T/R is active but some people are saying it is also passive which is exactly right?..

Answer / srinu

Hi Guys,

First of all Every Active tranformation is a Passive
transformation,But every passive not Active.

In Router Transformation there is a special feature with
Default Group.Because of Default Group its Passive.
We can avoid this Default group by Some transformation
Settings,Now its Active.

any queries let me know
srinu.srinuvas@gmail.com,,,,,

Is This Answer Correct ?    15 Yes 3 No

Router T/R is active but some people are saying it is also passive which is exactly right?..

Answer / manoj

@Answer2: See, you mean to say input to the router is 15
and output is 20 so router tr is active. if that is the
case, we can take one row from the expression and connect
it to two transformation, so do u say expression is also
active?

Is This Answer Correct ?    4 Yes 0 No

Router T/R is active but some people are saying it is also passive which is exactly right?..

Answer / deva

AS srinu said All Active can act as passive. Active TR
means the number of rows which is the input to the
Transformation will decrease in the output from that
transformation .


For example :- i have emp table if i write a condition
where sal>2000 then the rows will decrease after this
transformation . same when i didn't apply any condition
then that acts as Passive transformation

Is This Answer Correct ?    2 Yes 0 No

Router T/R is active but some people are saying it is also passive which is exactly right?..

Answer / sandeepl

If you connect default group to another T/R it is passive
T/R,B'coz If data meet user defined group condition it'll
pass throught it and remaing data pass through default
group, So, No chance to drop row in T/R it self.

Router can be Active or Passive..

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Informatica Interview Questions

any one can informatica metirial to me ple forwrd to my mail id; gbalireddy@gmail.com

1 Answers  


How to extract original records at one target & Duplicate records at one target?

12 Answers  


Why we need XMLs?

3 Answers   IBM,


SOURECE Name id dept sal 1 a1 A 100 2 b1 B 200 3 c1 C 300 4 d1 D 400 TARGET: Name id dept sal 1 a1 A 100 2 b1 B 200 3 WER1 567 300 4 d1 D 400 I HAVE SOURCE AND TARGET. HOW TO VALIDATE DATA? TELL ME 5 STEPS ABOVE TABLE?

1 Answers   IBM,


explain about unit testing? in real time?

0 Answers   L&T,






How do you load only null records into target? Explain through mapping flow.

0 Answers  


what are the settiings that u use to cofigure the joiner transformation?

2 Answers  


How will you update the first four rows and insert next four rows in a mapping?

5 Answers   CTS,


generate Unique sequence numbers for each partition in session with Unconnected Lookup ? Hi All, Please help me to resolve the below issue while Applying partitioning concept to my Session. This is a very simple mapping with Source, Lookup , router, and target. I need to Lookup on the target and compare with the source data, if any piece of data is new then Insert, and If any thing change in the existed data then Update. while Inserting the new records to the target table I'm generating sequence numbers with Unconnected lookup, by calling the maximum PK ID from the target table. The above flow is working fine from last one year. Now I wish to apply the Partitioning concept to the above floe(session) At source I used 4 pass through partitions.(For Each partition different filter conditions to pull the data from source) at Target I used 4 passthrough Partitions. it is working fine for some data, but for some rows for Insert Operation , it is throwing Unique key errors, because while Inserting the data it is generating the same sequence key twice. In detail : 1st row is coming from 1st partition and generated the sequence number 1 for that row. 2nd row is coming from 1st partition and generated the sequence number 2 for that row 3rd row is coming from the 2nd partition generated the sequence number 2 again for that row. (it must generate 3 for this row) the issue is becuase of generating the same sequence numbers twice for different partitions. Can any one Please help me to resolve this issue. While Applying partitions how can I generate a Unique Sequence numbers from Unconnected lookup for Each partitioned data. Regrads, N Kiran.

2 Answers   Tech Mahindra,


What is the difference between power center and power mart? What is the procedure for creating independent data marts from informatica 7.1?

0 Answers  


How do you load first and last records into target table? How many ways are there to do it? Explain through mapping flows.

0 Answers  


I have id, seq_no date, bill_amt and weight 1,11,'01-Jan-2014',100,2 2,12,'01-Jan-2014',40,5 3,13,'01-Jan-2014',32,5 4,14,'01-Jan-2014',98,2 5,15,'01-Jan-2014',105,3 6,16,'01-Jan-2014',11,3 1,11,'02-Jan-2014',40,2 2,12,'02-Jan-2014',100,5 3,13,'02-Jan-2014',132,5 4,14,'02-Jan-2014',198,2 5,15,'02-Jan-2014',15,3 6,16,'02-Jan-2014',16,3 Now I need output as date MXAMT_LSTWGHT MINAMT_GRTWGHT 01-Jan-2014 100 32 02-Jan-2014 198 100 Could not think of mapping to do so. Please help

1 Answers   Axtria,


Categories