You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Prasad Chakka (JIRA)" <ji...@apache.org> on 2009/11/18 22:08:39 UTC

[jira] Created: (HIVE-940) restrict creation of partitions with empty partition keys

restrict creation of partitions with empty partition keys
---------------------------------------------------------

                 Key: HIVE-940
                 URL: https://issues.apache.org/jira/browse/HIVE-940
             Project: Hadoop Hive
          Issue Type: Bug
    Affects Versions: 0.3.0, 0.2.0, 0.3.1, 0.3.2, 0.4.0, 0.4.1, 0.5.0
            Reporter: Prasad Chakka
            Assignee: Prasad Chakka
             Fix For: 0.2.0


create table pc (a int) partitioned by (b string, c string);

alter table pc add partition (b="f", c='');

above alter cmd fails but actually creates a partition with name 'b=f/c=' but describe partition on the same name fails. creation of such partitions should not be allowed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-940) restrict creation of partitions with empty partition keys

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain updated HIVE-940:
----------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.2.0)
                   0.5.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

Committed. Thanks Prasad

> restrict creation of partitions with empty partition keys
> ---------------------------------------------------------
>
>                 Key: HIVE-940
>                 URL: https://issues.apache.org/jira/browse/HIVE-940
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.4.1, 0.5.0
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>             Fix For: 0.5.0
>
>         Attachments: hive-940.2.patch, hive-940.patch
>
>
> create table pc (a int) partitioned by (b string, c string);
> alter table pc add partition (b="f", c='');
> above alter cmd fails but actually creates a partition with name 'b=f/c=' but describe partition on the same name fails. creation of such partitions should not be allowed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-940) restrict creation of partitions with empty partition keys

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779674#action_12779674 ] 

Namit Jain commented on HIVE-940:
---------------------------------

+1 looks good
will commit if the tests pass

> restrict creation of partitions with empty partition keys
> ---------------------------------------------------------
>
>                 Key: HIVE-940
>                 URL: https://issues.apache.org/jira/browse/HIVE-940
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.4.1, 0.5.0
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>             Fix For: 0.2.0
>
>         Attachments: hive-940.patch
>
>
> create table pc (a int) partitioned by (b string, c string);
> alter table pc add partition (b="f", c='');
> above alter cmd fails but actually creates a partition with name 'b=f/c=' but describe partition on the same name fails. creation of such partitions should not be allowed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-940) restrict creation of partitions with empty partition keys

Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad Chakka updated HIVE-940:
-------------------------------

    Status: Patch Available  (was: Open)

> restrict creation of partitions with empty partition keys
> ---------------------------------------------------------
>
>                 Key: HIVE-940
>                 URL: https://issues.apache.org/jira/browse/HIVE-940
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.3.0, 0.2.0, 0.3.1, 0.3.2, 0.4.0, 0.4.1, 0.5.0
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>             Fix For: 0.2.0
>
>         Attachments: hive-940.patch
>
>
> create table pc (a int) partitioned by (b string, c string);
> alter table pc add partition (b="f", c='');
> above alter cmd fails but actually creates a partition with name 'b=f/c=' but describe partition on the same name fails. creation of such partitions should not be allowed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-940) restrict creation of partitions with empty partition keys

Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad Chakka updated HIVE-940:
-------------------------------

    Attachment: hive-940.2.patch

fixed an incorrect error message in addpart1.q.out file.

> restrict creation of partitions with empty partition keys
> ---------------------------------------------------------
>
>                 Key: HIVE-940
>                 URL: https://issues.apache.org/jira/browse/HIVE-940
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.4.1, 0.5.0
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>             Fix For: 0.2.0
>
>         Attachments: hive-940.2.patch, hive-940.patch
>
>
> create table pc (a int) partitioned by (b string, c string);
> alter table pc add partition (b="f", c='');
> above alter cmd fails but actually creates a partition with name 'b=f/c=' but describe partition on the same name fails. creation of such partitions should not be allowed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-940) restrict creation of partitions with empty partition keys

Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad Chakka updated HIVE-940:
-------------------------------

    Attachment: hive-940.patch

disallows partitions with empty keys.


> restrict creation of partitions with empty partition keys
> ---------------------------------------------------------
>
>                 Key: HIVE-940
>                 URL: https://issues.apache.org/jira/browse/HIVE-940
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.4.1, 0.5.0
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>             Fix For: 0.2.0
>
>         Attachments: hive-940.patch
>
>
> create table pc (a int) partitioned by (b string, c string);
> alter table pc add partition (b="f", c='');
> above alter cmd fails but actually creates a partition with name 'b=f/c=' but describe partition on the same name fails. creation of such partitions should not be allowed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.