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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
karthik_T
Contributor
Contributor

Dynamic_join

Hi,

 

i want to do the joining of two files dynamically based on the user input.example if user enter id it will join with id . how to do it in talend.

 

 

Thanks.

 

 

Labels (2)
3 Replies
David_Beaty
Specialist
Specialist

Hi,

I don't think you can change the columns you join on dynamically, but what you can do is change the data in a given column dynamically.

 

Example, in the 2 sources that require joining, add an extra column to both called JoinColumn, when the data is read in, populate this column from each source based on the user input, then just join on JoinColumn. This will probably have to be set as a String, formatting any non-string column values to string as need be.

 

akumar2301
Specialist II
Specialist II

Can you please explain your senario with example and data.
karthik_T
Contributor
Contributor
Author

Hi akumar,

 

I have two files file1,file2  & i want to join those files dynamically based on user input.

 

for example user enter "ID" then ID column from first file should be join with matched column data of second file dynamically.

 

If user enter "Name" then name column from first file should be join with matched column data of second file dynamically.