Merge/Join Stage
Posted: Thu Apr 30, 2015 11:35 am
All, Have a confusion.
I have one query in db2 which (Source 1) looks like,
DATE,COUNTRY,PRODUCT,NUMOFPRODUCTS
There are total 200 rows with product count Country and Product wise.
Source 2 - DB2, looks like,
DATE,COUNTRY,PRODUCT,NUMOFPRODUCTSFILTERED
but it has a filter so number of records are 100.
How we can combine these two. The final excel file should look like,
DATE,COUNTRY,PRODUCT,NUMOFPRODUCTS,NUMOFPRODUCTSFILTERED.
I used merged stages before where Product and Country were same number of records. But here i cant merged based on any key as total rows differ.
Appreciate your help.
I have one query in db2 which (Source 1) looks like,
DATE,COUNTRY,PRODUCT,NUMOFPRODUCTS
There are total 200 rows with product count Country and Product wise.
Source 2 - DB2, looks like,
DATE,COUNTRY,PRODUCT,NUMOFPRODUCTSFILTERED
but it has a filter so number of records are 100.
How we can combine these two. The final excel file should look like,
DATE,COUNTRY,PRODUCT,NUMOFPRODUCTS,NUMOFPRODUCTSFILTERED.
I used merged stages before where Product and Country were same number of records. But here i cant merged based on any key as total rows differ.
Appreciate your help.