Sorting in Change capture

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
ady
Premium Member
Premium Member
Posts: 189
Joined: Thu Oct 12, 2006 12:08 am

Sorting in Change capture

Post by ady »

Hi,

Do I have to sort the fields mentioned as keys in the same order as they are in change capture stage?


ie: If i mention the the columns a,b,c,d as keys, do i have top do the sort in the same order (a,b,c,d) ?

Do I have to perform a sort on the fields mentioned as values also?
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

I would say do that and also be careful with your Partioning method.
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
ady
Premium Member
Premium Member
Posts: 189
Joined: Thu Oct 12, 2006 12:08 am

Post by ady »

I'm using hash ..... is there a better option ?
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Yes, Hash partition on the keys fields before sort and maintaing the SAME partition to the CC stage will out expected result.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
Post Reply