You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sambavi Muthukrishnan (JIRA)" <ji...@apache.org> on 2012/07/28 00:09:34 UTC

[jira] [Created] (HIVE-3311) Convert runtime exceptions to semantic exceptions for validation of alter table commands

Sambavi Muthukrishnan created HIVE-3311:
-------------------------------------------

             Summary: Convert runtime exceptions to semantic exceptions for validation of alter table commands
                 Key: HIVE-3311
                 URL: https://issues.apache.org/jira/browse/HIVE-3311
             Project: Hive
          Issue Type: Bug
          Components: Query Processor
    Affects Versions: 0.9.0
            Reporter: Sambavi Muthukrishnan
            Assignee: Sambavi Muthukrishnan
            Priority: Minor


validateAlterTableType in DDLTask.java does a bunch of checks to ensure that the alter table/view commands are correct (operations match table type, command macthes table type).
This JIRA tracks moving these to semantic exceptions.

--
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-3311) Convert runtime exceptions to semantic exceptions for validation of alter table commands

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

Namit Jain commented on HIVE-3311:
----------------------------------

+1
                
> Convert runtime exceptions to semantic exceptions for validation of alter table commands
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-3311
>                 URL: https://issues.apache.org/jira/browse/HIVE-3311
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.9.0
>            Reporter: Sambavi Muthukrishnan
>            Assignee: Sambavi Muthukrishnan
>            Priority: Minor
>         Attachments: HIVE-3311.2.patch, HIVE-3311.3.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> validateAlterTableType in DDLTask.java does a bunch of checks to ensure that the alter table/view commands are correct (operations match table type, command macthes table type).
> This JIRA tracks moving these to semantic exceptions.

--
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-3311) Convert runtime exceptions to semantic exceptions for validation of alter table commands

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

Sambavi Muthukrishnan updated HIVE-3311:
----------------------------------------

    Status: Patch Available  (was: Open)
    
> Convert runtime exceptions to semantic exceptions for validation of alter table commands
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-3311
>                 URL: https://issues.apache.org/jira/browse/HIVE-3311
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.9.0
>            Reporter: Sambavi Muthukrishnan
>            Assignee: Sambavi Muthukrishnan
>            Priority: Minor
>         Attachments: HIVE-3311.2.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> validateAlterTableType in DDLTask.java does a bunch of checks to ensure that the alter table/view commands are correct (operations match table type, command macthes table type).
> This JIRA tracks moving these to semantic exceptions.

--
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-3311) Convert runtime exceptions to semantic exceptions for validation of alter table commands

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

Namit Jain commented on HIVE-3311:
----------------------------------

Samabavi, if this is ready for review, can you mark 'Submit Patch' ?
                
> Convert runtime exceptions to semantic exceptions for validation of alter table commands
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-3311
>                 URL: https://issues.apache.org/jira/browse/HIVE-3311
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.9.0
>            Reporter: Sambavi Muthukrishnan
>            Assignee: Sambavi Muthukrishnan
>            Priority: Minor
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> validateAlterTableType in DDLTask.java does a bunch of checks to ensure that the alter table/view commands are correct (operations match table type, command macthes table type).
> This JIRA tracks moving these to semantic exceptions.

--
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-3311) Convert runtime exceptions to semantic exceptions for validation of alter table commands

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

Namit Jain updated HIVE-3311:
-----------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

Committed. Thanks Sambavi
                
> Convert runtime exceptions to semantic exceptions for validation of alter table commands
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-3311
>                 URL: https://issues.apache.org/jira/browse/HIVE-3311
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.9.0
>            Reporter: Sambavi Muthukrishnan
>            Assignee: Sambavi Muthukrishnan
>            Priority: Minor
>         Attachments: HIVE-3311.2.patch, HIVE-3311.3.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> validateAlterTableType in DDLTask.java does a bunch of checks to ensure that the alter table/view commands are correct (operations match table type, command macthes table type).
> This JIRA tracks moving these to semantic exceptions.

--
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-3311) Convert runtime exceptions to semantic exceptions for validation of alter table commands

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

Sambavi Muthukrishnan updated HIVE-3311:
----------------------------------------

    Attachment: HIVE-3311.3.patch
    
> Convert runtime exceptions to semantic exceptions for validation of alter table commands
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-3311
>                 URL: https://issues.apache.org/jira/browse/HIVE-3311
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.9.0
>            Reporter: Sambavi Muthukrishnan
>            Assignee: Sambavi Muthukrishnan
>            Priority: Minor
>         Attachments: HIVE-3311.2.patch, HIVE-3311.3.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> validateAlterTableType in DDLTask.java does a bunch of checks to ensure that the alter table/view commands are correct (operations match table type, command macthes table type).
> This JIRA tracks moving these to semantic exceptions.

--
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-3311) Convert runtime exceptions to semantic exceptions for validation of alter table commands

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

Sambavi Muthukrishnan updated HIVE-3311:
----------------------------------------

    Status: Patch Available  (was: Open)
    
> Convert runtime exceptions to semantic exceptions for validation of alter table commands
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-3311
>                 URL: https://issues.apache.org/jira/browse/HIVE-3311
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.9.0
>            Reporter: Sambavi Muthukrishnan
>            Assignee: Sambavi Muthukrishnan
>            Priority: Minor
>         Attachments: HIVE-3311.2.patch, HIVE-3311.3.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> validateAlterTableType in DDLTask.java does a bunch of checks to ensure that the alter table/view commands are correct (operations match table type, command macthes table type).
> This JIRA tracks moving these to semantic exceptions.

--
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-3311) Convert runtime exceptions to semantic exceptions for validation of alter table commands

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

Sambavi Muthukrishnan commented on HIVE-3311:
---------------------------------------------

Differential: https://reviews.facebook.net/D4407
                
> Convert runtime exceptions to semantic exceptions for validation of alter table commands
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-3311
>                 URL: https://issues.apache.org/jira/browse/HIVE-3311
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.9.0
>            Reporter: Sambavi Muthukrishnan
>            Assignee: Sambavi Muthukrishnan
>            Priority: Minor
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> validateAlterTableType in DDLTask.java does a bunch of checks to ensure that the alter table/view commands are correct (operations match table type, command macthes table type).
> This JIRA tracks moving these to semantic exceptions.

--
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-3311) Convert runtime exceptions to semantic exceptions for validation of alter table commands

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

Hudson commented on HIVE-3311:
------------------------------

Integrated in Hive-trunk-h0.21 #1576 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1576/])
    HIVE-3311 Convert runtime exceptions to semantic exceptions for 
validation of alter table commands (Sambavi Muthukrishnan via namit) (Revision 1367035)

     Result = FAILURE
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1367035
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java
* /hive/trunk/ql/src/test/results/clientnegative/alter_non_native.q.out
* /hive/trunk/ql/src/test/results/clientnegative/alter_view_failure.q.out
* /hive/trunk/ql/src/test/results/clientnegative/alter_view_failure2.q.out
* /hive/trunk/ql/src/test/results/clientnegative/alter_view_failure3.q.out
* /hive/trunk/ql/src/test/results/clientnegative/alter_view_failure8.q.out
* /hive/trunk/ql/src/test/results/clientnegative/alter_view_failure9.q.out

                
> Convert runtime exceptions to semantic exceptions for validation of alter table commands
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-3311
>                 URL: https://issues.apache.org/jira/browse/HIVE-3311
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.9.0
>            Reporter: Sambavi Muthukrishnan
>            Assignee: Sambavi Muthukrishnan
>            Priority: Minor
>         Attachments: HIVE-3311.2.patch, HIVE-3311.3.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> validateAlterTableType in DDLTask.java does a bunch of checks to ensure that the alter table/view commands are correct (operations match table type, command macthes table type).
> This JIRA tracks moving these to semantic exceptions.

--
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-3311) Convert runtime exceptions to semantic exceptions for validation of alter table commands

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

Sambavi Muthukrishnan updated HIVE-3311:
----------------------------------------

    Status: Open  (was: Patch Available)
    
> Convert runtime exceptions to semantic exceptions for validation of alter table commands
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-3311
>                 URL: https://issues.apache.org/jira/browse/HIVE-3311
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.9.0
>            Reporter: Sambavi Muthukrishnan
>            Assignee: Sambavi Muthukrishnan
>            Priority: Minor
>         Attachments: HIVE-3311.2.patch, HIVE-3311.3.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> validateAlterTableType in DDLTask.java does a bunch of checks to ensure that the alter table/view commands are correct (operations match table type, command macthes table type).
> This JIRA tracks moving these to semantic exceptions.

--
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-3311) Convert runtime exceptions to semantic exceptions for validation of alter table commands

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

Sambavi Muthukrishnan updated HIVE-3311:
----------------------------------------

    Attachment: HIVE-3311.3.patch
    
> Convert runtime exceptions to semantic exceptions for validation of alter table commands
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-3311
>                 URL: https://issues.apache.org/jira/browse/HIVE-3311
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.9.0
>            Reporter: Sambavi Muthukrishnan
>            Assignee: Sambavi Muthukrishnan
>            Priority: Minor
>         Attachments: HIVE-3311.2.patch, HIVE-3311.3.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> validateAlterTableType in DDLTask.java does a bunch of checks to ensure that the alter table/view commands are correct (operations match table type, command macthes table type).
> This JIRA tracks moving these to semantic exceptions.

--
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-3311) Convert runtime exceptions to semantic exceptions for validation of alter table commands

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

Sambavi Muthukrishnan updated HIVE-3311:
----------------------------------------

    Attachment:     (was: HIVE-3311.3.patch)
    
> Convert runtime exceptions to semantic exceptions for validation of alter table commands
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-3311
>                 URL: https://issues.apache.org/jira/browse/HIVE-3311
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.9.0
>            Reporter: Sambavi Muthukrishnan
>            Assignee: Sambavi Muthukrishnan
>            Priority: Minor
>         Attachments: HIVE-3311.2.patch, HIVE-3311.3.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> validateAlterTableType in DDLTask.java does a bunch of checks to ensure that the alter table/view commands are correct (operations match table type, command macthes table type).
> This JIRA tracks moving these to semantic exceptions.

--
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-3311) Convert runtime exceptions to semantic exceptions for validation of alter table commands

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

Sambavi Muthukrishnan updated HIVE-3311:
----------------------------------------

    Attachment: HIVE-3311.2.patch
    
> Convert runtime exceptions to semantic exceptions for validation of alter table commands
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-3311
>                 URL: https://issues.apache.org/jira/browse/HIVE-3311
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.9.0
>            Reporter: Sambavi Muthukrishnan
>            Assignee: Sambavi Muthukrishnan
>            Priority: Minor
>         Attachments: HIVE-3311.2.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> validateAlterTableType in DDLTask.java does a bunch of checks to ensure that the alter table/view commands are correct (operations match table type, command macthes table type).
> This JIRA tracks moving these to semantic exceptions.

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