hive concat_ws空值
时间: 2023-08-21 18:04:55 浏览: 237
hive函数大全
在Hive中,concat_ws函数用于将多个字符串连接在一起,如果存在空值,则返回非空的拼接。例如,在concat_ws('_',null,'c',null,'d')这个例子中,函数会忽略空值,返回结果为"c_d"。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Hive concat concat_ws 拼接空字符串的坑](https://blog.csdn.net/u010002184/article/details/108185075)[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* [hive中collect_list和concat_ws函数对null值的处理](https://blog.csdn.net/qq_33446500/article/details/126448551)[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 ]
阅读全文