Hive分区
1、Hive 分区 partition:必须在表定义的时候指定对应的partition字段
单分区建表语句:create table day_table (id int, content string) partitioned by (dt string);
单分区表,按天分区,在表结构中存在id,content,dt三列
以
Hive分区
1、Hive 分区 partition:必须在表定义的时候指定对应的partition字段
单分区建表语句:create table day_table (id int, content string) partitioned by (dt string);
单分区表,按天分区,在表结构中存在id,content,dt三列
以