Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

inner join on two tables with case insensitive

hi
I am very new to talend. I want to have inner join between two tables with case insensitive condition. can I force the join between two tables on a column
such that match returns true even if the data in two tables are in different case.
Any help on this is very much appriciated.
Labels (2)
19 Replies
janhess
Creator II
Creator II

You could use the expression filter on the input row to ignore nulls.
Anonymous
Not applicable
Author

janhess:
Thanks for the follow up.
I had tried that, but it doesnt seem to be sticking. Here's more info on my situation:
I have 1 excel file pulling in the records.
there are 3 columns with string based values that are values of a record in one of 3 tables of lists.
excel file:
id | make | drive | color
1 | Honda | AWD | red
2 | HonDa | | blue
3 | Dodge | Rwd | Black
4 | Dodge | 4x4 |
Tables:
Make:
1 | Honda
2 | DODGE
Drive:
1 | awd
2 | RWD
3 | 4X4
Color:
1 | Green
2 | RED
3 | BlacK
4 | BLUE
I need to pull in all records, no matter the case. This part seems to be working.
I am getting hung up I think when there is a missing attribute that is actually blank on the incoming rows such as :
id | make | drive | color
2 | HonDa | | blue (which should end up in the reciving table as: 2 | 1 | null | 4)
4 | Dodge | 4x4 | (which should end up in the reciving table as: 4 | 2 | 3 | null)
for these two records, for record #2, drive should just end up being 'null' when it gets inserted into the receiving table
and Color should be 'null' as well.
I added !Relational.ISNULL(incoming.drive) to the filter of initial tMap where I was doing the 'toLowerCase', but that didnt work. When I added it to the main tMap, I am getting an error there as well.
Is there a better/more accurate expression/location that I should be adding these?
thanks again for any / all help you can provide.
janhess
Creator II
Creator II

In that case don't select the inner join.
Anonymous
Not applicable
Author

Hi
I have some 100 tables in one database on one server and I want to copy all the tables along with the all the data to a different database on another server. How can I do this bulk migration.
Any help is much appreciated
janhess
Creator II
Creator II

You could try posting a new topic.
Anonymous
Not applicable
Author

Hi vk_sang,
Perhaps this related forum will help you
https://community.talend.com/t5/Design-and-Development/Copy-a-database/td-p/106219.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hello,
I am trying to do the same as in the initial post, however I do not see the screenshots as indicated in the first (shong's) response. Would someone please repost images, or explain steps to get lookup column in lowercase in order to do the join?
Thanks in advance.
Anonymous
Not applicable
Author

I don't know if this was how it was done, but one way I got it done was using another tMap to feed into another.
Anonymous
Not applicable
Author

Hi Shong,

I am not able to see the screenshots please help.

Regards
Saiba
Niki1
Contributor
Contributor

Can you pls share the screenshot as a solution to this issue plss