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

Hive column comments disappearing/being replaced by "from deserializer"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • None
    • Hive
    • None

    Description

      After creating a table in hive with column comments, running show create table or describe [formatted], on the same table gives "from deserializer" instead of the original comments.

      CREATE TABLE `test`(
      `stringid` string COMMENT 'string id',
      `value` string COMMENT 'description')
      ROW FORMAT SERDE
      'org.apache.hadoop.hive.contrib.serde2.RegexSerDe'
      WITH SERDEPROPERTIES (
      'input.regex'='(.

      {1}

      )');

      The comments appear to be stored correctly in the HMS backend DB. Just the fetching of this metadata seems to be incorrect.

      Attachments

        1. HIVE-15374.patch
          3 kB
          Naveen Gangam

        Activity

          People

            ngangam Naveen Gangam
            ngangam Naveen Gangam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: