impala查询问题

乱码问题:

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查询问题)