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

Aihua Xu updated HIVE-14013:
----------------------------
    Status: Patch Available  (was: Open)

Patch-1: for various places, use utf-8 encoding when writing to output stream. 
We need to come up with hive specific escape() version since the common one 
also escapes unicode characters which causes the issue.

> Describe table doesn't show unicode properly
> --------------------------------------------
>
>                 Key: HIVE-14013
>                 URL: https://issues.apache.org/jira/browse/HIVE-14013
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Planning
>    Affects Versions: 2.2.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>         Attachments: HIVE-14013.1.patch
>
>
> Describe table output will show comments incorrectly rather than the unicode 
> itself.
> {noformat}
> hive> desc formatted t1;
> # Detailed Table Information             
> Table Type:             MANAGED_TABLE            
> Table Parameters:                
>         COLUMN_STATS_ACCURATE   {\"BASIC_STATS\":\"true\"}
>         comment                 \u8868\u4E2D\u6587\u6D4B\u8BD5
>         numFiles                0                   
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to