[
https://issues.apache.org/jira/browse/HIVE-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469135#comment-13469135
]
Namit Jain commented on HIVE-2874:
----------------------------------
You are right. The location should not change by a rename in external's table
partition.
> Renaming external partition changes location
> --------------------------------------------
>
> Key: HIVE-2874
> URL: https://issues.apache.org/jira/browse/HIVE-2874
> Project: Hive
> Issue Type: Bug
> Reporter: Kevin Wilfong
> Assignee: Zhenxiao Luo
> Attachments: HIVE-2874.1.patch.txt, HIVE-2874.2.patch.txt,
> HIVE-2874.3.patch.txt
>
>
> Renaming an external partition will change the location of that partition to
> the default location of a managed partition with the same name.
> E.g. If ex_table is external and has partition part=1 with location
> /.../managed_table/part=1
> Calling ALTER TABLE ex_table PARTITION (part = '1') RENAME TO PARTITION (part
> = '2');
> Will change the location of the partition to /.../ex_table/part=2
--
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