我正在使用以下命令在 Hive 中创建一个新表:
CREATE TABLE new_table AS select * from old_table;
我的问题是在创建表后,它为每个分区生成多个文件 - 而我只需要每个分区一个文件。
我如何在表中定义它?谢谢!
hive create-table hive-partitions hiveddl
create-table ×1
hive ×1
hive-partitions ×1
hiveddl ×1