You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/01/09 11:31:05 UTC

[jira] [Commented] (HIVE-2874) Renaming external partition changes location

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

Hudson commented on HIVE-2874:
------------------------------

Integrated in Hive-trunk-hadoop2 #54 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/54/])
    HIVE-2874 Renaming external partition changes location
(Zhenxiao Luo via namit) (Revision 1394087)

     Result = ABORTED
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1394087
Files : 
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java
* /hive/trunk/ql/src/test/queries/clientpositive/rename_external_partition_location.q
* /hive/trunk/ql/src/test/results/clientpositive/rename_external_partition_location.q.out

                
> 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
>             Fix For: 0.10.0
>
>         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