How can i findout Unique values Using INROWNUM.
Using INROWNUM in transformer stage i am getting partitionwise records count.
Thanks
Swetha
About INROWNUM Variable
Moderators: chulett, rschirm, roy
... and as a result there will be gaps when considered as a whole.
Let me explain. If there are 2 partitions, the first has two rows and the second has 5 rows.
The first partition would count using a calculation that started counting at 1 and went up by 2 for each row.
The second partition would start at 2 and go up by 2 for each row.
Thus the counts would be 1,3
and 2,4,6,8,10
Giving a combined 1,2,3,4,6,8,10 and there are therefore gaps because the partitions are not balanced.
Let me explain. If there are 2 partitions, the first has two rows and the second has 5 rows.
The first partition would count using a calculation that started counting at 1 and went up by 2 for each row.
The second partition would start at 2 and go up by 2 for each row.
Thus the counts would be 1,3
and 2,4,6,8,10
Giving a combined 1,2,3,4,6,8,10 and there are therefore gaps because the partitions are not balanced.