hive窗口中使用轉義字符:html
select split(concat_ws('|','123','456','789'),'\\|')from dual;htm
參考it
http://jingyan.baidu.com/article/870c6fc32cf38eb03ee4be61.htmlselect
這種寫法在hive -e 中執行時,須要改爲:co
select split(concat_ws('|','123','456','789'),'\\\|')from dual;字符