#1 2011-07-08 14:56:12

jkrfs
Member
Registered: 2009-11-19
Posts: 204

tMap Lookup Help Needed

Greetings,

I attached a screenshot of what I am trying to achieve. In a tMap I have my main table and two lookups. The first table holds and ID that is connected to the first lookup table. The second table has a String Description that I connected to the second lookup table. From the second table I want to use a BigDecimal in the output of my flow. Not every row is going to contain a lookup from the 3rd table, so it is not necessarily an Inner Join.

Is there something wrong with my logic here? Is this not possible? Any help would be greatly appreciated.

thank you!


Uploaded Images

Offline

#2 2011-07-08 15:58:30

jkrfs
Member
Registered: 2009-11-19
Posts: 204

Re: tMap Lookup Help Needed

Well, it seems like this was resolved by trimming both the inputs for the String look up.

I never thought that would have been an issue!

Why do I have to trim the String? There should be no reason to do this.

Thanks

Last edited by jkrfs (2011-07-08 17:46:50)

Offline

#3 2011-07-10 03:40:50

alevy
Member
Registered: 2009-11-20
Posts: 1477

Re: tMap Lookup Help Needed

Talend does a Java match of the values for the join i.e. it does not ignore trailing spaces like SQL does.

Offline

Board footer

Powered by FluxBB