[
https://issues.apache.org/jira/browse/HIVE-3914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
caofangkun updated HIVE-3914:
-----------------------------
Attachment: HIVE-3914-1.patch
use “outStream.writeUTF” instead of “ outStream.writeBytes ”
> use Chinese in hive column comment and table comment
> ----------------------------------------------------
>
> Key: HIVE-3914
> URL: https://issues.apache.org/jira/browse/HIVE-3914
> Project: Hive
> Issue Type: Bug
> Components: Query Processor
> Affects Versions: 0.9.0, 0.10.0
> Reporter: caofangkun
> Priority: Minor
> Attachments: HIVE-3914-1.patch
>
>
> use Chinese in hive column comment and table comment,and the metadata in
> Mysql is regular,the charset of 'COMMENT' column in 'columns_v2' table and
> 'PARAM_VALUE' column in 'table_params' table both are 'utf8'.
> When I exec 'select * from columns_v2' with mysql client,the Chinese comments
> display normally. But when I execute 'describe table' with hive cli,the
> Chinese words are garbled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira