开发者社区 问答 正文

Hive实现分区的方法是什么?

Hive实现分区的方法是什么?

展开
收起
游客5n3d3br4o5qn4 2021-12-06 17:08:54 377 分享 版权
1 条回答
写回答
取消 提交回答
  • 建表:create table tablename(col1 string) partitioned by(col2 string); 添加分区:alter table tablename add partition(col2=’202101’); 删除分区:alter table tablename drop partition(col2=’202101’);

    2021-12-06 17:09:31
    赞同 展开评论
问答分类:
问答标签:
问答地址: