You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Naveen Gangam (JIRA)" <ji...@apache.org> on 2016/12/06 23:01:01 UTC

[jira] [Updated] (HIVE-15374) Hive column comments disappearing/being replaced by "from deserializer"

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

Naveen Gangam updated HIVE-15374:
---------------------------------
    Attachment: HIVE-15374.patch

In lieu of HIVE-11985, appears that for any SerDes not listed on this hive property value list, hive will look to the deserializer for the serde to get a column list. Regex SerDe is not one of the SerDe's who columns can be retrieved from an external source and so needs to be added to this list. [~aihuaxu] [~ctang.ma] [~ychena] Could you please review? thanks

> Hive column comments disappearing/being replaced by "from deserializer"
> -----------------------------------------------------------------------
>
>                 Key: HIVE-15374
>                 URL: https://issues.apache.org/jira/browse/HIVE-15374
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 2.0.0
>            Reporter: Naveen Gangam
>            Assignee: Naveen Gangam
>         Attachments: HIVE-15374.patch
>
>
> 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.



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