You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2019/10/18 16:26:00 UTC

[jira] [Comment Edited] (HIVE-21414) Hive JSON SerDe Does Not Properly Handle Field Comments

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

David Mollitor edited comment on HIVE-21414 at 10/18/19 4:25 PM:
-----------------------------------------------------------------

[~pvary] No.  There is structure to the JSON file, but it does not actually carry with it the actual schema (including the comments).  I have had several customers caught by surprise that the comments they put in the table definition (successfully) are not returned when they issue a subsequent DESCRIBE table.  I agree with them.  That is confusing.


was (Author: belugabehr):
[~pvary] No.  There is structure to the JSON file, but it does not actually carry with it the actual schema (including the comments).  I have had several customers caught by surprise that the comments they put in the table definition (successfully) are not returned when they issue a subsequent DESCRIBE table.  I agree.  That is confusing.

> Hive JSON SerDe Does Not Properly Handle Field Comments
> -------------------------------------------------------
>
>                 Key: HIVE-21414
>                 URL: https://issues.apache.org/jira/browse/HIVE-21414
>             Project: Hive
>          Issue Type: Improvement
>          Components: Serializers/Deserializers
>    Affects Versions: 4.0.0, 3.2.0
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>         Attachments: HIVE-21414.1.patch, HIVE-21414.1.patch
>
>
> Field comments are handed to the JSON SerDe from HMS and then are ignored.  The result is that all field comments are 'from deserializer' and cannot be changed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)