乱码问题:
Unknown Exception : 'ascii' codec can't encode characters in position 141751-141755: ordinal not in range(128)
解决方式:
vim /usr/lib/impala-shell/impala_shell.py
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
Unknown Exception : 'ascii' codec can't encode characters in position 141751-141755: ordinal not in range(128)
vim /usr/lib/impala-shell/impala_shell.py
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
本文标题:impala查询问题
本文链接:https://www.haomeiwen.com/subject/ejoafftx.html
网友评论