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

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

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

     Result = SUCCESS
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

Reply via email to