Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-3914

use Chinese in hive column comment and table comment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.9.0, 0.10.0
    • None
    • Query Processor
    • None
    • hive0.11.0
      hive0.9.0

    Description

      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.

      Attachments

        1. TextMetaDataFormatter-0.11.java
          17 kB
          wangpeiya
        2. TextMetaDataFormatter.class
          14 kB
          wangpeiya
        3. HIVE-3914-2.patch
          4 kB
          caofangkun
        4. HIVE-3914-1.patch
          3 kB
          caofangkun

        Issue Links

          Activity

            People

              Unassigned Unassigned
              caofangkun caofangkun
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: