[
https://issues.apache.org/jira/browse/HCATALOG-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444592#comment-13444592
]
Feng Peng commented on HCATALOG-484:
------------------------------------
The changes look reasonable. It will add the extra ql dependency though; we
should limit the dependency to only these wrapper objects (Table/Partition).
> HCatalog should use ql.metadata Table and Partition classes
> -----------------------------------------------------------
>
> Key: HCATALOG-484
> URL: https://issues.apache.org/jira/browse/HCATALOG-484
> Project: HCatalog
> Issue Type: Bug
> Reporter: Travis Crawford
> Assignee: Travis Crawford
> Attachments: HCATALOG-484_metadata_api.1.patch
>
>
> Hive has two sets of classes for representing tables and partitions. For
> example:
> * {{import org.apache.hadoop.hive.ql.metadata.Table}}
> * {{import org.apache.hadoop.hive.metastore.api.Table}}
> The {{metadata.api}} versions represent exactly what's stored in the
> metastore, while the {{ql.metadata}} versions add some business logic, such
> as providing serde-reported columns.
> HCatalog should always use the {{ql.metadata}} versions of Table and
> Partition classes except when communicating with the metastore, or
> serializing these objects into the job conf.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira