agregator

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
scorpion
Participant
Posts: 144
Joined: Thu May 12, 2005 4:19 am

agregator

Post by scorpion »

hi all,
I have 10 input columns passing to an aggregator stage in my job.and i am doing sum on column xxx.Thais column is passing to next stage like sum_xxx.
and i dont want to groupby this column xxx.and i need this column available for next stage.(not sum_xxx,but only xxx)
so how to get this column out(pass to next stage)with out mentioning in groupby?
any one have idea?help would be appreciated.

thanks
Thanx&Regards
scorpion
Maveric
Participant
Posts: 388
Joined: Tue Mar 13, 2007 1:28 am

Post by Maveric »

See if this post helps:

viewtopic.php?t=114245
scorpion
Participant
Posts: 144
Joined: Thu May 12, 2005 4:19 am

Post by scorpion »

Thanks maveric for your reply.

this post is seems to be help full for me,but could you clarify one thing ,when defining sort stage ,which column do i need to mention to sort.

is it column xxx or different?
Thanx&Regards
scorpion
Maveric
Participant
Posts: 388
Joined: Tue Mar 13, 2007 1:28 am

Post by Maveric »

Not on xxx. That is the calculation field. The sort keys should be same as the aggregator stage keys. In SQL terms the sort and group by keys should be same.
Post Reply