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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
mdeeter
Contributor
Contributor

How do you achieve a UNION or UNION ALL using the tELT components in talend?

Hi, can someone explain how to accomplish UNION and UNION all in the tELT components in Talend?

 

My use case is to merge 2 tables into 1 that will have a sparse presentation.

 

e.g. Table A has ID and String1, String2 and Table B has ID and String1, String3.

 

The desired output table is ID, String1, String2, String3 with sparse results in String2 and String3.

 

The query in SQL looks like this:

 

SELECT ID, String1, String2, null as String3

UNION ALL

SELECT ID, String1, null, String3

Labels (1)
4 Replies
Anonymous
Not applicable

Hello,

Are your two tables from one database or not when you are using ELT components?

For UNION or UNION ALL operations, it can be implemented by doing a join on tMap.

Best regards

Sabrina

dhazarihazari
Contributor
Contributor

Hi ,

 

Are you sure that Union/ union All can be implemented in tELTMap component?

Can you please share any sample job tELT Hive component design with union all please? I'm really not finding any relevent answer anywhere else?

 

Thanks,

Deepti

Anonymous
Not applicable

Hello,

For UNION or UNION ALL operations, it can be implemented by doing a join on tMap component instead of tELTMap component.

The three ELT components are closely related, in terms of their operating conditions. Such as, tELTXXXInput, tELTMap and tELTXXXOutput.

Best regards

Sabrina

Anonymous
Not applicable

@Xiaodi Shi​ Hi, i'm now trying to do a union of two large tables with same structure but using tMap would be very slow. Any chance to use tELT components to achieve this ?

Want to keep the metadata of tables, hence DBRow or similar wont work.