[jira] [Updated] (HIVE-3914) use Chinese in hive column comment and table comment

2013-09-06 Thread wangpeiya (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

wangpeiya updated HIVE-3914:


Environment: 
hive0.11.0
hive0.9.0

> 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
> Environment: hive0.11.0
> hive0.9.0
>Reporter: caofangkun
>Priority: Minor
> Attachments: HIVE-3914-1.patch, HIVE-3914-2.patch, 
> TextMetaDataFormatter-0.11.java, TextMetaDataFormatter.class
>
>
> 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


[jira] [Updated] (HIVE-3914) use Chinese in hive column comment and table comment

2013-09-06 Thread wangpeiya (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

wangpeiya updated HIVE-3914:


Attachment: TextMetaDataFormatter.class
TextMetaDataFormatter-0.11.java

> 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, HIVE-3914-2.patch, 
> TextMetaDataFormatter-0.11.java, TextMetaDataFormatter.class
>
>
> 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


[jira] [Updated] (HIVE-3914) use Chinese in hive column comment and table comment

2013-03-20 Thread caofangkun (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

caofangkun updated HIVE-3914:
-

Attachment: HIVE-3914-2.patch

for hive 0.9.0 

> 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, HIVE-3914-2.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


[jira] [Updated] (HIVE-3914) use Chinese in hive column comment and table comment

2013-01-17 Thread caofangkun (JIRA)

 [ 
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