[ 
https://issues.apache.org/jira/browse/HIVE-15374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15727357#comment-15727357
 ] 

Chaoyu Tang commented on HIVE-15374:
------------------------------------

I wonder if it makes more sense to fix this issue by adding RegexSerDe to 
property hive.serdes.using.metastore.for.schema in Hive configuration instead 
of changing the code since this SerDe is different from other listed SerDe and 
it is just a contrib SerDe.

> 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)

Reply via email to