You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "huang wei (JIRA)" <ji...@apache.org> on 2013/03/20 03:53:15 UTC
[jira] [Commented] (HIVE-3914) use Chinese in hive column comment
and table comment
[ https://issues.apache.org/jira/browse/HIVE-3914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13607203#comment-13607203 ]
huang wei commented on HIVE-3914:
---------------------------------
In Hive 0.9.0,the file 'DDLtask.java' is not like your Attachments.use “outStream.writeUTF” instead of “ outStream.writeBytes ” can't solve it.How do you solve it?
> 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