I am new to hive. I have created 2 external hive tables and also imported data from oracle using sqoop. Also I have created a new external table which will have data of both External table 1 and External table 2
as follows
create external table transaction_usa_canada
(
tran_id int,
acct_id int,
tran_date string,
amount double,
description string,
branch_code string,
tran_state string,
tran_city string,
speendby string,
tran_zip int,
source_table string
)
row format delimited
stored as textfile
location '/user/gds/bank_ds/tran_usa_canada';
Now , I dont know how to merge the data of 2 external tables into above external table.
Please help.