bitao created HIVE-23812:
----------------------------
Summary: GBK encoded data is imported into hive, and the last
column is garbled during query
Key: HIVE-23812
URL: https://issues.apache.org/jira/browse/HIVE-23812
Project: Hive
Issue Type: Test
Reporter: bitao
Attachments: WechatIMG1.jpeg
I created a hive table and specified the encoding format.as follows:
CREATE TABLE person(id INT, name STRING, {color:#910091}level{color} STRING)ROW
FORMAT SERDE 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' WITH
SERDEPROPERTIES("serialization.encoding"='GBK');
But when importing data, the last column of the query result is garbled,as
attachment,Can anyone help me to solve this problem?thank you.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)