Hive使用insert Into Values 这种方式插入中文数据乱码

插入数据时,要将中文数据转码为 iso8859-1
new String(“测试数据”.getBytes(),”iso8859-1”);

Share