hive的nvl函数
时间: 2023-09-11 16:12:58 浏览: 104
Hive中的NVL函数与SQL中的NVL函数功能相似,用于判断一个值是否为空,并返回相应的结果。其语法格式为NVL(expr1, default_value),如果expr1为空,则返回default_value,否则返回expr1的值。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Hive SQL NVL 相关函数](https://blog.csdn.net/weixin_30929195/article/details/95351859)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* [hive之coalesce函数与nvl函数](https://blog.csdn.net/chenhua_19891230/article/details/124444638)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文