what is the difference between the join and look up
explin me one exmple

Answers were Sorted based on User's Feedback



what is the difference between the join and look up explin me one exmple..

Answer / ankit gosain

Difference Between Join & Lookup:

1. In join stage you can do Inner Join, Left outer, Right
Outer and Full outer join, while in Lookup stage you can do
Inner join & Left outer join only.
2. In join stage you can't have a reject link, while in
lookup stage you can have a reject link for Unmatched
Primary records.
3. In join stage sorted data is mandatory, while in lookup
stage sorted data is not mandatory for lookup source.
4. Join stage requires Hash Partitioned data, while lookup
stage requires Entire partitioned lookup data.
5. In case of Join, Disk I/O is more while it's very less
in case of lookup (since at the time of matching, complete
lookup data is present in the memory).
6. In case of Join Stage, the key column name must be the
same in both the sources, while in case of lookup stage
it's not mandatory.


Cheers,
Ankit :)

Is This Answer Correct ?    4 Yes 0 No

what is the difference between the join and look up explin me one exmple..

Answer / shar

join lookup
i/p names- left,right,intermediate primary,secondary
join ops - left,right,inner,fullout left,inner
in & out - n i/p(s)-left,right,inner n i/p(s) normal
2 i/p(s)-full outer 2 i/p(s) sparse
1 o/p 1 o/p
rejects - n/a one
sort data- Mandatory optional
KcolNames- Mandatory optional
deduplica- no problem warnings in secondary.
memory - light high

Is This Answer Correct ?    0 Yes 0 No

what is the difference between the join and look up explin me one exmple..

Answer / anburadh

1.Join needs key column metadata should be same|Lookup key column metadata its not mandatory to be same
2.Implement Four join in JOIN|But in Lookup only TWO JOIN(left outer,INNER)
3.JOIN does not have reject link | LOOKUP has one reject link
4.Data should be sorted and default is hash partioning |LOOKUP data need not to be in sort and default partioning is ENTIRE
5.Performance is HIGH in JOIN | Performance is less in JOIN
6.Duplicate will arise in JOIN|can handle Duplicate in LOOKUP

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Stage Interview Questions

I am having the 2 source files A and B and I want to get the output as, the data which is in file A and which doesn't in file B to a target 1 and which is in file B and which doesn't in file A to a target 2?

3 Answers  


What are the different type of jobs in datastage?

0 Answers  


What are routines in datastage? Enlist various types of routines.

0 Answers  


How you Remove the Dataset in Unix?

5 Answers  


i have one table with one column in this column i have three rows like 1,1,2 then that rows populate to target as first tow rows as one row and remaing row as one row how it posible? COLUMN_NAME SHIVA RAMU MADHU THEN I WANT TO LIKE SHIVA AND RAMU IN ONE ROW AND MADHU IS ONE ROW IF ANY ONE KNOW PLZ TELL ME

3 Answers   Cap Gemini,






How to read the length of word in unix?

0 Answers   CTS,


how to transfer file from one system to another system in unix? which cmd to be use?

5 Answers   Cap Gemini,


parallel jobs run on cluster machines. server jobs run on smp and mpp. What do mean by cluster mechines and SMP and MPP..?

3 Answers  


what are the different type of errors in datastage?

2 Answers   Wipro,


what is ds administrator used for?

0 Answers  


What are the enhancements made in datastage 7.5 compare with 7.0?

0 Answers  


How to convert RGB Value to Hexadecimal values in datastage?

0 Answers  


Categories