You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Phabricator (Commented) (JIRA)" <ji...@apache.org> on 2012/03/16 07:27:50 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=13230929#comment-13230929 ] 

Phabricator commented on HIVE-2875:
-----------------------------------

njain has accepted the revision "HIVE-2875 [jira] Renaming partition changes partition location prefix".

REVISION DETAIL
  https://reviews.facebook.net/D2349

BRANCH
  svn

                
> 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
>         Attachments: HIVE-2875.D2349.1.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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira