Dropped Records in transformer Stage
Posted: Fri Oct 30, 2009 4:48 am
Hi,
I have a parallel job with a transformer stage which redirectes the input data to three different links based on some constraints.
The input data is as follows:
colA colB
1 100
1 null
5 541
7 null
The constraint on output links are as follows:
link1: colA = 1
link2: colA=1 Or colA=3
link3: otherwise link
The order of links in the link ordering tab is as follows:
link1
link2
link3
Now, in the derivation of link1, I'm performing a calculation as colB+1 and in link2, I mapping the columns from the input without any manipulations to the output. Since I have not performed any null handling in colB, I expect records to be dropped from link1 and records to be processed in link2.
But, here is what is happening:
link1: 0 rows (records getting dropped as null handling is not done) -- This is perfect
link2: 0 rows ??? I don't know why this is happening
link3: 2 rows -- This is expected behavior
Can anyone please tell me why does link2 in this case drop records?!!
-Deepti
I have a parallel job with a transformer stage which redirectes the input data to three different links based on some constraints.
The input data is as follows:
colA colB
1 100
1 null
5 541
7 null
The constraint on output links are as follows:
link1: colA = 1
link2: colA=1 Or colA=3
link3: otherwise link
The order of links in the link ordering tab is as follows:
link1
link2
link3
Now, in the derivation of link1, I'm performing a calculation as colB+1 and in link2, I mapping the columns from the input without any manipulations to the output. Since I have not performed any null handling in colB, I expect records to be dropped from link1 and records to be processed in link2.
But, here is what is happening:
link1: 0 rows (records getting dropped as null handling is not done) -- This is perfect
link2: 0 rows ??? I don't know why this is happening
link3: 2 rows -- This is expected behavior
Can anyone please tell me why does link2 in this case drop records?!!
-Deepti