Sorting in Change Capture stage.

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
nikhilanshuman
Participant
Posts: 58
Joined: Tue Nov 17, 2009 3:38 am

Sorting in Change Capture stage.

Post by nikhilanshuman »

Hi,
As per the DS Manual "The change Capture stage assumes the data to be sorted and hash partitoned".

But,in the "Properties tab" of Change Capture stage,the "Sort Order" option is also present.

Does it mean that change capture stage will by default sort the data on the key column?When this option is already there,is there any need of sorting the data before it reaches the Change Captuer stage?
Nikhil
rohithmuthyala
Participant
Posts: 57
Joined: Wed Oct 21, 2009 4:46 am
Location: India

Post by rohithmuthyala »

Change capture stage will not sort the data by default on key column. One needs to sort the data and hash partition the data on key column(s) explicitly in sort stage or in the same stage.
Rohith
nikhilanshuman
Participant
Posts: 58
Joined: Tue Nov 17, 2009 3:38 am

Post by nikhilanshuman »

rohithmuthyala wrote:Change capture stage will not sort the data by default on key column. One needs to sort the data and hash partition the data on key column(s) explicitly in sort stage or in the same stage.
Thanks Rohit.
But in that case what will the ""Sort Order" option do in change capture stage?
Nikhil
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

rohithmuthyala wrote:Change capture stage will not sort the data by default on key column. One needs to sort the data and hash partition the data on key column(s) explicitly in sort stage or in the same stage.
It will sort and hash partition data if values in environment variables for auto sort insertion and part insertion are set. and partition is set to auto.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
Post Reply