Posted: Thu Jun 27, 2013 9:00 am
You can try something like this :-
1) Row generator as a source (generate let's say 200 rows)
2) Use a transformer stage and pass on @PARTITIONNUM system variable value to some output column for eg:- Part. Use Round robin partition on the input link.
3) Use an Aggregator stage and use Count method on the Part column and get the output in some output column for eg:- Cnt.
I tried it and I got the following result :-
Peek_6,0: Part:0 Count:50
Peek_6,3: Part:1 Count:50
Peek_6,3: Part:2 Count:50
Peek_6,1: Part:3 Count:50
1) Row generator as a source (generate let's say 200 rows)
2) Use a transformer stage and pass on @PARTITIONNUM system variable value to some output column for eg:- Part. Use Round robin partition on the input link.
3) Use an Aggregator stage and use Count method on the Part column and get the output in some output column for eg:- Cnt.
I tried it and I got the following result :-
Peek_6,0: Part:0 Count:50
Peek_6,3: Part:1 Count:50
Peek_6,3: Part:2 Count:50
Peek_6,1: Part:3 Count:50