hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-2114) Backward incompatibility introduced from HIVE-2082 in MetaStoreUtils.getPartSchemaFromTableSchema()
Date Sun, 17 Apr 2011 10:24:06 GMT

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

Namit Jain updated HIVE-2114:
-----------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Committed. Thanks Ning

> 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

Mime
View raw message