Is right outer join possible in lookup 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
fredy
Participant
Posts: 6
Joined: Fri Aug 22, 2008 2:34 am

Is right outer join possible in lookup stage

Post by fredy »

Hi,

Could you tell me how can we implement right outer join in lookup stage?

Thanks in advance..
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

by setting up failure property in lookup stage to true ?
Teradata Certified Master V2R5
fredy
Participant
Posts: 6
Joined: Fri Aug 22, 2008 2:34 am

Post by fredy »

Thank you very much for your reply.

If i give lookup failure property to continue then that will be a left outer join.

I have a number of reference tables (number of records few) and i want to join it with a source table. I need to right outer join with the reference tables.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Right outer join is not possible with a Lookup join. If you reverse the sense of the stream and reference inputs and do a left outer join (rule is "Continue") then you have a functional equivalent. However, this is not feasible if you have multiple reference inputs. You need to use a Join stage in this case.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply