显示表分区:
hive> show partitions table_name;
根据表分区查询数据:
hive> select * from table_name where partition_date='2018-04-10' ;
显示表分区:
hive> show partitions table_name;
根据表分区查询数据:
hive> select * from table_name where partition_date='2018-04-10' ;
5816

被折叠的 条评论
为什么被折叠?
