【发布时间】:2016-09-14 18:24:51
【问题描述】:
我是蜂巢新手。我创建了 2 个外部配置单元表,并使用 sqoop 从 oracle 导入数据。我还创建了一个新的外部表,其中包含External table 1 and External table 2 的数据,如下所示
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';
现在,我不知道如何将2个外部表的数据合并到上面的外部表中。
请帮忙。
【问题讨论】:
-
能否提供table1和table2的元数据。还有table3?
-
请参考我的新问题...stackoverflow.com/questions/37299136/…
标签: hive external-tables