Warnings in the 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
kollurianu
Premium Member
Premium Member
Posts: 614
Joined: Fri Feb 06, 2004 3:59 pm

Warnings in the lookup stage

Post by kollurianu »

Hi All ,

I am getting following warnings

lkp_isin,0: Ignoring duplicate entry at table record 6; no further warnings will be issued for this table

lkp_SS_Asset,0: Ignoring duplicate entry at table record 8; no further warnings will be issued for this table

does that mean I am finding duplicate entries in key fields in reference files ie; multiple rows are returned on match criteria in the lookup file.. can some one confirm.

Thank you , appreciate your help.
anbu
Premium Member
Premium Member
Posts: 596
Joined: Sat Feb 18, 2006 2:25 am
Location: india

Post by anbu »

Yes you have duplicates in the reference files
You are the creator of your destiny - Swami Vivekananda
ggarze
Premium Member
Premium Member
Posts: 78
Joined: Tue Oct 11, 2005 9:37 am

Post by ggarze »

I received the same error when doing a lookup in Parallel. I wrote a small parallel job the read in my lookup file and process it through a Remove Duplicates stage and got the same record count going into the De-Dupe stage as came out. Therefore, duplicates is not the issue. This Warning only started to appear when we made a change to the job that creates the Look-Up file. The change we made was creating the Look-Up file using Entire Partitioning. The job used to be Auto Partitioning. Hope this helps.
T.
XRAY
Participant
Posts: 33
Joined: Mon Apr 03, 2006 12:09 am

Post by XRAY »

Are the keys in your lookup stage the same as the deduplicate stage ?
Have you verify the uniqueness manually ?
sajal.jain
Participant
Posts: 11
Joined: Sat Mar 13, 2010 12:00 am

Post by sajal.jain »

By default the lookup gets the results from the first match found and for subsequent ones gives the warning.

Go to constraint tab on lookup stage and then select the reference link from 'Multiple rows returned from link' drop box - this way it will get the results with all matches with no warnings.
Major GungHo
iHijazi
Participant
Posts: 45
Joined: Sun Oct 24, 2010 12:05 am

Post by iHijazi »

Or yet better, use join stage. It's much faster and efficient. Trust me, lookup might put in situations where you'll say "Huh?"

Just a thought, and a little bit of experience ;)
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

iHijazi wrote:Or yet better, use join stage. It's much faster and efficient.
With even more experience you'll appreciate that there are times when the Lookup stage is more efficient, and that there will be times when you need to use a Lookup stage because there's no other possibility (for example when performing a Range lookup).
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