#1 2008-04-14 05:23:12

johnvkumar
Member
Registered: 2008-03-20
Posts: 22

nulls lookup and tMap

Hi, I am trying to do this.. and I noticed that Lookups fetch all the rows...I want it to fetch value based on value passed into main input.

eg,

Example

source1
id col1  col2 col3
1 aaa             
2 bac             sds
3 232   2za   d54

Source2
id col1  col2 col3
1 bac             bcc
1 232   zxz    bcc
2 asa   rd3    43d
3 sss   dsd    de2

lookup after the first pass( this is bascally the output after the input that is commited for the previous record)
id  col1 col2  col2
1 aaa             

lookup after the second pass( this is bascally the output after the input that is commited for the previous record)
id  col1 col2  col2
1 aaa             bcc

lookup after the third pass( this is bascally the output after the input that is commited for the previous record)
id  col1 col2  col2
1 aaa    zxz    bcc
2 bac    rd3    sds



My end result should look like

target table
id  col1 col2  col2
1 aaa    zxz     bcc
2 bac    rd3     sds
3 232   2za    d54

Notice the Ex:  My intent is to update the records with columns that have null value in the records that was previous commited.

Offline

#2 2008-04-14 14:46:21

johnvkumar
Member
Registered: 2008-03-20
Posts: 22

Re: nulls lookup and tMap

Appreciate your help!!!!

Offline

#3 2008-04-14 15:21:14

mhirt
Talend team
Registered: 2006-09-19
Posts: 1638

Re: nulls lookup and tMap

You have opened too many threads on the same topic.
This is an incorrect usage of the forum.

Offline

Board footer

Powered by FluxBB