hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Steinbach (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-2114) Backward incompatibility introduced from HIVE-2082 in MetaStoreUtils.getPartSchemaFromTableSchema()
Date Wed, 27 Jul 2011 04:17:09 GMT

     [ https://issues.apache.org/jira/browse/HIVE-2114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Carl Steinbach updated HIVE-2114:
---------------------------------

      Component/s: Metastore
    Fix Version/s: 0.8.0

> 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
>          Components: Metastore
>            Reporter: Ning Zhang
>            Assignee: Ning Zhang
>             Fix For: 0.8.0
>
>         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

        

Mime
View raw message