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-2875) Renaming partition changes partition location prefix

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

Hudson commented on HIVE-2875:
------------------------------

Integrated in Hive-trunk-hadoop2 #54 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/54/])
    HIVE-2875 /Users/njain/hive/hive_commit1/svn-commit.tmp
(Kevin Wilfong via namit) (Revision 1307633)

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

                
> Renaming partition changes partition location prefix
> ----------------------------------------------------
>
>                 Key: HIVE-2875
>                 URL: https://issues.apache.org/jira/browse/HIVE-2875
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>             Fix For: 0.9.0
>
>         Attachments: ASF.LICENSE.NOT.GRANTED--HIVE-2875.D2349.1.patch, ASF.LICENSE.NOT.GRANTED--HIVE-2875.D2349.2.patch
>
>
> Renaming a partition changes the location of the partition to the default location of the table, followed by the partition specification.  It should just change the partition specification of the path.
> If the path does not end with the old partition specification, we should probably throw an exception because renaming a partition should not change the path so dramatically, and not changing the path to reflect the new partition name could leave the partition in a very confusing state.

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