Hive中文顯示亂碼

前提 hive版本 apache-hive-1.2.1-bin.tar.gz mysql版本 mysql-5.7.25-1.el6.x86_64.rpm-bundle.tar shell版本 Xshell4(Free for Home/School) 現象 在hive中執行 select * from test.psn;時,由於表中有中文,顯示亂碼,如下圖所示; 原因 1.對文件進行解碼時錯誤。
相關文章
相關標籤/搜索