[
https://issues.apache.org/jira/browse/HCATALOG-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418412#comment-13418412
]
Travis Crawford commented on HCATALOG-443:
------------------------------------------
Updated the title to include only using {{Deserializer}} when reading.
Currently {{HCatRecordReader}} expects a full {{SerDe}}, however only
deserialization is done so we can use just a {{Deserializer}}. An example of
where this is useful is {{ThriftDeserializer}} that ships with Hive.
> Use "metadata" Table/Partition classes, and Deserializer when reading
> ---------------------------------------------------------------------
>
> Key: HCATALOG-443
> URL: https://issues.apache.org/jira/browse/HCATALOG-443
> Project: HCatalog
> Issue Type: Bug
> Reporter: Travis Crawford
> Assignee: Travis Crawford
>
> This issue is related to HIVE-2950.
> When HCatalog queries the HiveMetaStore it gets back classes in the
> "org.apache.hadoop.hive.metastore.api" package. This represents exactly what
> is stored in the metastore database.
> Hive has companion classes in "org.apache.hadoop.hive.ql.metadata" that
> provide some logic on top of what's stored in the actual database. For
> example:
> * org.apache.hadoop.hive.metastore.api.Table.getCols shows columns explicitly
> stored in the database
> * org.apache.hadoop.hive.ql.metadata.Table.getCols shows columns reported by
> the serde if there are any.
> Except when serializing stuff into the job configuration HCatalog should use
> the "metadata" version of these classes so that the additional logic is
> called.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira