hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3529) Incorrect partition bucket/sort metadata when overwriting partition with different metadata from table
Date Wed, 09 Jan 2013 10:27:10 GMT

    [ https://issues.apache.org/jira/browse/HIVE-3529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13548004#comment-13548004
] 

Hudson commented on HIVE-3529:
------------------------------

Integrated in Hive-trunk-hadoop2 #54 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/54/])
    HIVE-3529 Incorrect partition bucket/sort metadata when overwriting partition with different
metadata from table
(Kevin Wilfong via namit) (Revision 1403363)

     Result = ABORTED
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1403363
Files : 
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
* /hive/trunk/ql/src/test/queries/clientpositive/alter_numbuckets_partitioned_table2.q
* /hive/trunk/ql/src/test/queries/clientpositive/alter_table_serde2.q
* /hive/trunk/ql/src/test/results/clientpositive/alter_numbuckets_partitioned_table.q.out
* /hive/trunk/ql/src/test/results/clientpositive/alter_numbuckets_partitioned_table2.q.out
* /hive/trunk/ql/src/test/results/clientpositive/alter_table_serde2.q.out

                
> Incorrect partition bucket/sort metadata when overwriting partition with different metadata
from table
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-3529
>                 URL: https://issues.apache.org/jira/browse/HIVE-3529
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.10.0
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3529.1.patch.txt
>
>
> If you have a partition with bucket/sort metadata set, then you alter the table to have
different bucket/sort metadata, and insert overwrite the partition with hive.enforce.bucketing=true
and/or hive.enforce.sorting=true, the partition data will be bucketed/sorted by the table's
metadata, but the partition will have the same metadata.
> This could result in wrong results.

--
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

Mime
View raw message