[
https://issues.apache.org/jira/browse/HIVE-2114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020429#comment-13020429
]
Ning Zhang commented on HIVE-2114:
----------------------------------
https://reviews.apache.org/r/605/
> Backward incompatibility introduced from HIVE-2082 in
> MetaStoreUtils.getPartSchemaFromTableSchema()
> ---------------------------------------------------------------------------------------------------
>
> Key: HIVE-2114
> URL: https://issues.apache.org/jira/browse/HIVE-2114
> Project: Hive
> Issue Type: Sub-task
> Reporter: Ning Zhang
> Assignee: Ning Zhang
> Attachments: HIVE-2114.patch
>
>
> In MetaStoreUtils.getPartSchemaFromTableSchema() the Propertie of a
> Partitions is first created by cloning the Properties from a Table. Then some
> of the properties are overwritten by the Partition level properties
> (Location/InputFormat/OutputFormat etc.). It also copies the properties from
> the SerDeInfo. If the SerDeInfo contains properties 'columns', 'column_types'
> and 'partition_columns' this will introduce incompatibility from the previous
> code path MetaStoreUtils.getSchema(). In getSchema(), the 'columns' etc are
> put after copying the SerDeInfo, which means we should not overwrite these 3
> properties in the new code.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira