sparse lookup-join

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
dnat
Participant
Posts: 200
Joined: Thu Sep 06, 2007 2:06 am

sparse lookup-join

Post by dnat »

Hi,

We have used sparse lookup in a job where the condition in the oracle stage is select value from table where lowsc<=orchestrate.sc and highsc>=orchestrate.sc.
So, i pass the field "value" to the output, based on the field sc from input .

Now, the job is failing with heap allocation error, and the ulimit is set to unlimited.

So, the only way is to change this condition to join.

Can anyone suggest, how we can do this in join, as this concept is conditional lookup.

Thanks!
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

It's not a conditional lookup, it's a range lookup. Have you tried using that specific option?
-craig

"You can never have too many knives" -- Logan Nine Fingers
dnat
Participant
Posts: 200
Joined: Thu Sep 06, 2007 2:06 am

Post by dnat »

I dont think we have range lookup in 7.5.1?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You don't (have range lookup in version 7.5). Craig's not working on DataStage at the moment.

Join is only ever equijoin, so you won't achieve your requirement that way.

Would you consider using a server job, where you can use user-defined SQL in the database stage that services the reference input to a Transformer stage?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

D'oh! Where's a [facepalm] icon when you need one? :(

Note to self - need to stop assuming everyone has made it to some flavor of 8 by now.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply