[
https://issues.apache.org/jira/browse/HIVE-3529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479254#comment-13479254
]
Kevin Wilfong commented on HIVE-3529:
-------------------------------------
The following information is now copied from the table to the partition when
writing to an existing partition:
bucket columns
bucket number
sort columns/orders
serde parameters
> 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
> 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