Page 1 of 1

DataStage Parallel Edition Error (Join Stage)

Posted: Fri Jun 27, 2008 12:16 pm
by Gopinath
Hi,

Iam Joing two Stages with one stage as "Dataset" and another stage is "DB2" , joining with three KEY columns.

When i execute the Query in DB2, iam getting "FOUR" records but the same JOIN query is giving me "EIGHT" records in DataStage which is repeated rows[4*2=8]


If any additional info pls get back to me...


Thanks in advance..

Posted: Fri Jun 27, 2008 4:21 pm
by ray.wurlod
Are your data (your input links) correctly partitioned on the join key fields?

Posted: Mon Jun 30, 2008 1:32 am
by Gopinath
ray.wurlod wrote:Are your data (your input links) correctly partitioned on the join key fields? ...
Hi Ray,

I have given the right keys in partition too, but even the issue didnt change. But now iam getting the exact data without any change in the Job.

Will let u know whats happening in the Job.


Thanks,
M Gopinath

Posted: Mon Jun 30, 2008 2:09 am
by keshav0307
This time right data goes into right partition.

have you used hash partition on the all column used as join keys?