partitioned by
时间: 2023-08-29 13:10:23 浏览: 117
在Hive中,partitioned by是用来创建分区表的可选参数。通过在创建表时使用partitioned by参数,可以指定一个或多个字段作为分区键,将数据按照这些字段的值进行分区存储。这样可以在查询时只扫描关心的分区,减少了查询的开销。\[2\]\[3\]
#### 引用[.reference_title]
- *1* *3* [Hive求topN](https://blog.csdn.net/a308601801/article/details/112005198)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [hive中的分区:PARTITIONED BY](https://blog.csdn.net/weixin_44079636/article/details/119212960)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文