You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Prasad Chakka (JIRA)" <ji...@apache.org> on 2009/06/29 19:42:47 UTC

[jira] Commented: (HIVE-577) return correct comment of a column from ThriftHiveMetastore.Iface.get_fields

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

Prasad Chakka commented on HIVE-577:
------------------------------------

this patch won't work for custom serdes where schema information stored in metastore is incorrect or incomplete. eg, thrift serdes. correct way of doing this is to get the fields from Deserializer and then look up the commet from the list in tbl.getSerDe().getCols().

> return correct comment of a column from ThriftHiveMetastore.Iface.get_fields
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-577
>                 URL: https://issues.apache.org/jira/browse/HIVE-577
>             Project: Hadoop Hive
>          Issue Type: Sub-task
>            Reporter: Min Zhou
>            Assignee: Min Zhou
>         Attachments: HIVE-577.1.patch
>
>
> comment of each column hasnot been retrieved correct right now , 
> FieldSchema.getComment() will return a string "from derserializer".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.