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

Min Zhou commented on HIVE-577:
-------------------------------

I guessed it's cumbersome to deal with custom tables from current api provided 
by hive currently. 
ddl for schema should changed from 
  struct{ type1 col1, type2 col2}
to some format like
  struct{ struct{type1 col1, string comment1},  struct{type2 col2, string 
comment2}}

however, MetaStoreUtils.getDDLFromFieldSchema(structName,  fieldSchemas) is not 
only for getSchema(table). 



> 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, HIVE-577.2.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.

Reply via email to