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
mallikachaithu
Participant
Posts: 4
Joined: Thu Jul 22, 2010 4:38 am

Lookup stage

Post by mallikachaithu »

Hi,

Can anyone pls explain me the difference between normal look up and sparse lookup.
If i want to use sparse lookup, how do i set the options in the stage for sparse lookup.

Thanks in advance to one and all for the gr8 help.
Mallika
Mallika
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

Post by zulfi123786 »

Please see the Parallel Job Developer Guide, Look for the chapter "Look Up Stage".
huahero
Participant
Posts: 4
Joined: Mon Nov 13, 2006 8:44 pm

Post by huahero »

As my understanding:

Normal lookup can have multiple ref-links and read reference data into memory.
Sparse lookup have only 1 ref-link, read reference data from database directly.
abinaydutt
Participant
Posts: 4
Joined: Fri Apr 15, 2011 1:50 am

Post by abinaydutt »

Hi,

In Sparse lookup we cant map the key columns in the output tab.
we need to mention the where condition using keys as <local_odbc_key>=orchestrate.<lookup_stage_key>.this would be matched automatically if the read method is an autogenerated sql or table(only if the keys are matching else we need to mention explicitly through user defined sql).and the condition need to be mentioned in the lookup stage(eg:continue,drop,reject etc,.) depending on the requirement.
Post Reply