Aggregator group outputs empty string value

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
teddycarebears
Participant
Posts: 18
Joined: Wed May 12, 2010 11:57 pm

Aggregator group outputs empty string value

Post by teddycarebears »

hello, you know my habit of not opening new posts since similar problems are already reported in here. right now I am facing exactly the same problem described above. I have a dataset with a column MyFlagCol which is all set to value 'N'. the data is then entering an aggregator where I use MyFlagCol as a group key. but after the aggregator stage MyFlagCol randomly has values of "N" and "" (empty string or null, I couldn't figure it out very well from the peek). obvious enough I am expecting to get an "N" for all values but tough luck cause it aint happening.

to answer ray's question my data is not sorted and uses partition Same.

if you have any advice I would gladly take it :)
Able was I ere I saw Elba
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Same doesn't help. What's it the same AS ? That is, what is the upstream partitioning algorithm that's being used?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
teddycarebears
Participant
Posts: 18
Joined: Wed May 12, 2010 11:57 pm

Post by teddycarebears »

good point Ray :( the dataset is actually the first stage in the job so Same would not be very helpful ... hmmm I dunno, I would chose Entire then but I am afraid not to mess up the data ..
Able was I ere I saw Elba
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: Aggregator group outputs empty string value

Post by chulett »

teddycarebears wrote:hello, you know my habit of not opening new posts since similar problems are already reported in here.
<snip>
if you have any advice I would gladly take it :)
First bit of advice? Break this habit. Similar != same, so please start a new post and then reference the old post if you feel it would be helpful in solving your problem. That way we get the added bonus of knowing your version and type and O/S plus you get the bonus of being able to flag it as Resolved if everything works out.

Split from this older and similar topic, btw.
-craig

"You can never have too many knives" -- Logan Nine Fingers
teddycarebears
Participant
Posts: 18
Joined: Wed May 12, 2010 11:57 pm

Post by teddycarebears »

hello there, thanks chullet, good info to know for the future :)

yes, Ray's answer helped in a way because it made me look at partitionings, field types and sortings all around the sequence and with a few minor modifications of sortings and nullabilities everything works now like a charm.

so thank you all :)
Able was I ere I saw Elba
Post Reply