• 2022-05-28
    某公司有两个结构相同的表A和B,现在想将两个表的数据合在一起放到C表中,并去掉重复的记录,以下那条HiveQL可以实现:
    A: A:insert into table c (select * from A union all select * from B);
    B: B:insert overwrite table c (select * from A union select * from B);
    C: C:insert into c (select * from A union select * from B);
    D: D:insert overwrite c (select * from A union all select * from B);
    E: 第一章 大数据基础知识