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

Desc table can't show non-ascii comments

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0, 0.10.0
    • Fix Version/s: 0.12.0
    • Component/s: CLI
    • Labels:
    • Environment:

      hive 0.7.0, mysql 5.1.45
      hive 0.10.0, mysql 5.5.30

    • Tags:
      hadoop hive mysql

      Description

      When desc a table with command line or hive jdbc way, the table's comment can't be read.
      1. I have updated javax.jdo.option.ConnectionURL parameter in hive-site.xml file.
      jdbc:mysql://...:3306/hive?characterEncoding=UTF-8
      2. In mysql database, the comment field of COLUMNS table can be read normally.

        Attachments

        1. HIVE-2905.D11487.1.patch
          7 kB
          Phabricator
        2. utf8-desc-comment.patch
          2 kB
          Xiaozhe Wang

          Issue Links

            Activity

              People

              • Assignee:
                navis Navis Ryu
                Reporter:
                zhousheng29 Sheng Zhou
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: