You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Kevin Wilfong (JIRA)" <ji...@apache.org> on 2012/06/27 19:06:42 UTC

[jira] [Created] (HIVE-3203) Drop partition throws NPE if table doesn't exist

Kevin Wilfong created HIVE-3203:
-----------------------------------

             Summary: Drop partition throws NPE if table doesn't exist
                 Key: HIVE-3203
                 URL: https://issues.apache.org/jira/browse/HIVE-3203
             Project: Hive
          Issue Type: Bug
          Components: Query Processor
    Affects Versions: 0.10.0
            Reporter: Kevin Wilfong
            Assignee: Kevin Wilfong
            Priority: Minor
             Fix For: 0.10.0
         Attachments: HIVE-3203.1.patch.txt

ALTER TABLE t1 DROP PARTITION (part = '1');

This throws an NPE if t1 doesn't exist.  A SemanticException would be cleaner.

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

        

[jira] [Commented] (HIVE-3203) Drop partition throws NPE if table doesn't exist

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

Kevin Wilfong commented on HIVE-3203:
-------------------------------------

Submitted a diff here https://reviews.facebook.net/D3843
                
> Drop partition throws NPE if table doesn't exist
> ------------------------------------------------
>
>                 Key: HIVE-3203
>                 URL: https://issues.apache.org/jira/browse/HIVE-3203
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.10.0
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>            Priority: Minor
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3203.1.patch.txt, HIVE-3203.2.patch.txt
>
>
> ALTER TABLE t1 DROP PARTITION (part = '1');
> This throws an NPE if t1 doesn't exist.  A SemanticException would be cleaner.

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

        

[jira] [Commented] (HIVE-3203) Drop partition throws NPE if table doesn't exist

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

Namit Jain commented on HIVE-3203:
----------------------------------

Tests failing -- some sample test: protectmode.q
                
> Drop partition throws NPE if table doesn't exist
> ------------------------------------------------
>
>                 Key: HIVE-3203
>                 URL: https://issues.apache.org/jira/browse/HIVE-3203
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.10.0
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>            Priority: Minor
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3203.1.patch.txt, HIVE-3203.2.patch.txt, HIVE-3203.3.patch.txt, HIVE-3203.4.patch.txt
>
>
> ALTER TABLE t1 DROP PARTITION (part = '1');
> This throws an NPE if t1 doesn't exist.  A SemanticException would be cleaner.

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

        

[jira] [Updated] (HIVE-3203) Drop partition throws NPE if table doesn't exist

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

Kevin Wilfong updated HIVE-3203:
--------------------------------

    Status: Patch Available  (was: Open)
    
> Drop partition throws NPE if table doesn't exist
> ------------------------------------------------
>
>                 Key: HIVE-3203
>                 URL: https://issues.apache.org/jira/browse/HIVE-3203
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.10.0
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>            Priority: Minor
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3203.1.patch.txt, HIVE-3203.2.patch.txt
>
>
> ALTER TABLE t1 DROP PARTITION (part = '1');
> This throws an NPE if t1 doesn't exist.  A SemanticException would be cleaner.

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

        

[jira] [Commented] (HIVE-3203) Drop partition throws NPE if table doesn't exist

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

Namit Jain commented on HIVE-3203:
----------------------------------

+1
                
> Drop partition throws NPE if table doesn't exist
> ------------------------------------------------
>
>                 Key: HIVE-3203
>                 URL: https://issues.apache.org/jira/browse/HIVE-3203
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.10.0
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>            Priority: Minor
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3203.1.patch.txt, HIVE-3203.2.patch.txt, HIVE-3203.3.patch.txt
>
>
> ALTER TABLE t1 DROP PARTITION (part = '1');
> This throws an NPE if t1 doesn't exist.  A SemanticException would be cleaner.

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

        

[jira] [Updated] (HIVE-3203) Drop partition throws NPE if table doesn't exist

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

Kevin Wilfong updated HIVE-3203:
--------------------------------

    Attachment: HIVE-3203.4.patch.txt
    
> Drop partition throws NPE if table doesn't exist
> ------------------------------------------------
>
>                 Key: HIVE-3203
>                 URL: https://issues.apache.org/jira/browse/HIVE-3203
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.10.0
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>            Priority: Minor
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3203.1.patch.txt, HIVE-3203.2.patch.txt, HIVE-3203.3.patch.txt, HIVE-3203.4.patch.txt
>
>
> ALTER TABLE t1 DROP PARTITION (part = '1');
> This throws an NPE if t1 doesn't exist.  A SemanticException would be cleaner.

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

        

[jira] [Commented] (HIVE-3203) Drop partition throws NPE if table doesn't exist

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

Kevin Wilfong commented on HIVE-3203:
-------------------------------------

Updated the patch, I had removed adding the table as an input.
                
> Drop partition throws NPE if table doesn't exist
> ------------------------------------------------
>
>                 Key: HIVE-3203
>                 URL: https://issues.apache.org/jira/browse/HIVE-3203
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.10.0
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>            Priority: Minor
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3203.1.patch.txt, HIVE-3203.2.patch.txt, HIVE-3203.3.patch.txt, HIVE-3203.4.patch.txt
>
>
> ALTER TABLE t1 DROP PARTITION (part = '1');
> This throws an NPE if t1 doesn't exist.  A SemanticException would be cleaner.

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

        

[jira] [Updated] (HIVE-3203) Drop partition throws NPE if table doesn't exist

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

Kevin Wilfong updated HIVE-3203:
--------------------------------

    Attachment: HIVE-3203.3.patch.txt
    
> Drop partition throws NPE if table doesn't exist
> ------------------------------------------------
>
>                 Key: HIVE-3203
>                 URL: https://issues.apache.org/jira/browse/HIVE-3203
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.10.0
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>            Priority: Minor
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3203.1.patch.txt, HIVE-3203.2.patch.txt, HIVE-3203.3.patch.txt
>
>
> ALTER TABLE t1 DROP PARTITION (part = '1');
> This throws an NPE if t1 doesn't exist.  A SemanticException would be cleaner.

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

        

[jira] [Resolved] (HIVE-3203) Drop partition throws NPE if table doesn't exist

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

Kevin Wilfong resolved HIVE-3203.
---------------------------------

    Resolution: Cannot Reproduce

Seems to have been fixed, I can no longer reproduce the problem.
                
> Drop partition throws NPE if table doesn't exist
> ------------------------------------------------
>
>                 Key: HIVE-3203
>                 URL: https://issues.apache.org/jira/browse/HIVE-3203
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.10.0
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>            Priority: Minor
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3203.1.patch.txt, HIVE-3203.2.patch.txt, HIVE-3203.3.patch.txt, HIVE-3203.4.patch.txt
>
>
> ALTER TABLE t1 DROP PARTITION (part = '1');
> This throws an NPE if t1 doesn't exist.  A SemanticException would be cleaner.

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

[jira] [Updated] (HIVE-3203) Drop partition throws NPE if table doesn't exist

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

Kevin Wilfong updated HIVE-3203:
--------------------------------

    Attachment: HIVE-3203.2.patch.txt
    
> Drop partition throws NPE if table doesn't exist
> ------------------------------------------------
>
>                 Key: HIVE-3203
>                 URL: https://issues.apache.org/jira/browse/HIVE-3203
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.10.0
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>            Priority: Minor
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3203.1.patch.txt, HIVE-3203.2.patch.txt
>
>
> ALTER TABLE t1 DROP PARTITION (part = '1');
> This throws an NPE if t1 doesn't exist.  A SemanticException would be cleaner.

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

        

[jira] [Updated] (HIVE-3203) Drop partition throws NPE if table doesn't exist

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

Kevin Wilfong updated HIVE-3203:
--------------------------------

    Attachment: HIVE-3203.1.patch.txt
    
> Drop partition throws NPE if table doesn't exist
> ------------------------------------------------
>
>                 Key: HIVE-3203
>                 URL: https://issues.apache.org/jira/browse/HIVE-3203
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.10.0
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>            Priority: Minor
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3203.1.patch.txt
>
>
> ALTER TABLE t1 DROP PARTITION (part = '1');
> This throws an NPE if t1 doesn't exist.  A SemanticException would be cleaner.

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

        

[jira] [Updated] (HIVE-3203) Drop partition throws NPE if table doesn't exist

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

Namit Jain updated HIVE-3203:
-----------------------------

    Status: Open  (was: Patch Available)
    
> Drop partition throws NPE if table doesn't exist
> ------------------------------------------------
>
>                 Key: HIVE-3203
>                 URL: https://issues.apache.org/jira/browse/HIVE-3203
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.10.0
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>            Priority: Minor
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3203.1.patch.txt, HIVE-3203.2.patch.txt, HIVE-3203.3.patch.txt, HIVE-3203.4.patch.txt
>
>
> ALTER TABLE t1 DROP PARTITION (part = '1');
> This throws an NPE if t1 doesn't exist.  A SemanticException would be cleaner.

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