Hi All,
I have a scenerio where I sort and hash partition data on column 1 and column 2 also I would have to rename these columns to col 1 and col 2.
The output link then is an input to the join stage which has same partitioning on this link. The other input link to the join would have the same names col 1 and col 2. Will this work? Would it have the same hash partitioning done on the sort stage.
Thanks
Devi
Sort with Join stages
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 247
- Joined: Thu Apr 27, 2006 6:38 am
- Location: Hyderabad
Yes it would propagate the sort order and partitioning. specify the partitioning as SAME in the join stage for this link. Ideally for renaming you should use a copy or Modify or transformer stages. So it would be Sort -> copy or Modify or transformer stages -> Join. And partitioning is SAME for the Rename stage and join stage.