hive建表时间类型
时间: 2023-10-18 07:26:09 浏览: 169
在Hive中,有两种时间数据类型,分别是Date和Timestamp。Date用于表示年、月、日,而Timestamp表示偏移量。可以使用cast函数在Date和Timestamp之间相互转换。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [hive 复杂数据类型和时间数据类型简介](https://blog.csdn.net/lepton126/article/details/80013677)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [HIVE建表详细教程](https://blog.csdn.net/yqj234/article/details/130745201)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文