开发者社区 问答 正文

hive当中cluster by是什么意思?

hive当中cluster by是什么意思?

展开
收起
游客ahv54x37wvm7u 2021-12-08 20:03:18 440 分享 版权
1 条回答
写回答
取消 提交回答
  • 当distribute by和sort by字段相同时,可以使用cluster by方式. cluster by除了具有distribute by的功能外还兼具sort by的功能。但是排序只能是正序排序,不能指定排序规则为ASC或者DESC。

    2021-12-08 20:03:33
    赞同 展开评论
问答分类:
问答地址: