You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2010/12/07 22:33:10 UTC

[jira] Created: (HIVE-1840) Support ALTER DATABASE to change database properties

Support ALTER DATABASE to change database properties
----------------------------------------------------

                 Key: HIVE-1840
                 URL: https://issues.apache.org/jira/browse/HIVE-1840
             Project: Hive
          Issue Type: New Feature
          Components: Query Processor
            Reporter: Namit Jain
            Assignee: Ning Zhang


This is a follow-up to HIVE-1536

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


[jira] Updated: (HIVE-1840) Support ALTER DATABASE to change database properties

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

Ning Zhang updated HIVE-1840:
-----------------------------

    Attachment: HIVE-1840.2.patch

HIVE-1840.2.patch fixes the pre/post execution hook type for both 'desc database' and 'alter database'

> Support ALTER DATABASE to change database properties
> ----------------------------------------------------
>
>                 Key: HIVE-1840
>                 URL: https://issues.apache.org/jira/browse/HIVE-1840
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Ning Zhang
>         Attachments: HIVE-1840.2.patch, HIVE-1840.patch
>
>
> This is a follow-up to HIVE-1836

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


[jira] Commented: (HIVE-1840) Support ALTER DATABASE to change database properties

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

Namit Jain commented on HIVE-1840:
----------------------------------

+1

> Support ALTER DATABASE to change database properties
> ----------------------------------------------------
>
>                 Key: HIVE-1840
>                 URL: https://issues.apache.org/jira/browse/HIVE-1840
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Ning Zhang
>         Attachments: HIVE-1840.2.patch, HIVE-1840.patch
>
>
> This is a follow-up to HIVE-1836

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


[jira] Updated: (HIVE-1840) Support ALTER DATABASE to change database properties

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

Namit Jain updated HIVE-1840:
-----------------------------

    Description: This is a follow-up to HIVE-1836  (was: This is a follow-up to HIVE-1536)

> Support ALTER DATABASE to change database properties
> ----------------------------------------------------
>
>                 Key: HIVE-1840
>                 URL: https://issues.apache.org/jira/browse/HIVE-1840
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Ning Zhang
>
> This is a follow-up to HIVE-1836

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


[jira] Updated: (HIVE-1840) Support ALTER DATABASE to change database properties

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

Ning Zhang updated HIVE-1840:
-----------------------------

    Attachment: HIVE-1840.patch

> Support ALTER DATABASE to change database properties
> ----------------------------------------------------
>
>                 Key: HIVE-1840
>                 URL: https://issues.apache.org/jira/browse/HIVE-1840
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Ning Zhang
>         Attachments: HIVE-1840.patch
>
>
> This is a follow-up to HIVE-1836

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


[jira] Commented: (HIVE-1840) Support ALTER DATABASE to change database properties

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

Ning Zhang commented on HIVE-1840:
----------------------------------

I will make the pre & post hook non-null.

Currently all database (as well as index, but not sure about views) DDLs are not generating Read/WriteEntity. According to the Read/WriteEntity comments, they are for "tables" and "partitions" involved in a query. If we want to extend that for databases (maybe indexes as well), we can file a follow-up JIRA. What do you think?

> Support ALTER DATABASE to change database properties
> ----------------------------------------------------
>
>                 Key: HIVE-1840
>                 URL: https://issues.apache.org/jira/browse/HIVE-1840
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Ning Zhang
>         Attachments: HIVE-1840.patch
>
>
> This is a follow-up to HIVE-1836

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


[jira] Updated: (HIVE-1840) Support ALTER DATABASE to change database properties

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

Ning Zhang updated HIVE-1840:
-----------------------------

    Status: Patch Available  (was: Open)

> Support ALTER DATABASE to change database properties
> ----------------------------------------------------
>
>                 Key: HIVE-1840
>                 URL: https://issues.apache.org/jira/browse/HIVE-1840
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Ning Zhang
>         Attachments: HIVE-1840.patch
>
>
> This is a follow-up to HIVE-1836

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


[jira] Updated: (HIVE-1840) Support ALTER DATABASE to change database properties

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

Ning Zhang updated HIVE-1840:
-----------------------------

    Status: Patch Available  (was: Open)

> Support ALTER DATABASE to change database properties
> ----------------------------------------------------
>
>                 Key: HIVE-1840
>                 URL: https://issues.apache.org/jira/browse/HIVE-1840
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Ning Zhang
>         Attachments: HIVE-1840.2.patch, HIVE-1840.patch
>
>
> This is a follow-up to HIVE-1836

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


[jira] Updated: (HIVE-1840) Support ALTER DATABASE to change database properties

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

Namit Jain updated HIVE-1840:
-----------------------------

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

Committed. Thanks Ning

> Support ALTER DATABASE to change database properties
> ----------------------------------------------------
>
>                 Key: HIVE-1840
>                 URL: https://issues.apache.org/jira/browse/HIVE-1840
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Ning Zhang
>         Attachments: HIVE-1840.2.patch, HIVE-1840.patch
>
>
> This is a follow-up to HIVE-1836

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


[jira] Commented: (HIVE-1840) Support ALTER DATABASE to change database properties

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

Namit Jain commented on HIVE-1840:
----------------------------------

OK, can you file a follow-up jira on that ?

> Support ALTER DATABASE to change database properties
> ----------------------------------------------------
>
>                 Key: HIVE-1840
>                 URL: https://issues.apache.org/jira/browse/HIVE-1840
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Ning Zhang
>         Attachments: HIVE-1840.patch
>
>
> This is a follow-up to HIVE-1836

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


[jira] Commented: (HIVE-1840) Support ALTER DATABASE to change database properties

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

Namit Jain commented on HIVE-1840:
----------------------------------

Mostly looks good - some minor comments.

1. The type in prehook and posthook should not be null.
2. The inputs and outputs should be populated - create a database object and pass it in Read/WriteEntity.
3. I didn't look carefully, but do the same changes for CREATE/DROP DATABASE also if not already done so.

> Support ALTER DATABASE to change database properties
> ----------------------------------------------------
>
>                 Key: HIVE-1840
>                 URL: https://issues.apache.org/jira/browse/HIVE-1840
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Ning Zhang
>         Attachments: HIVE-1840.patch
>
>
> This is a follow-up to HIVE-1836

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


[jira] Updated: (HIVE-1840) Support ALTER DATABASE to change database properties

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

Namit Jain updated HIVE-1840:
-----------------------------

    Status: Open  (was: Patch Available)

> Support ALTER DATABASE to change database properties
> ----------------------------------------------------
>
>                 Key: HIVE-1840
>                 URL: https://issues.apache.org/jira/browse/HIVE-1840
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Ning Zhang
>         Attachments: HIVE-1840.patch
>
>
> This is a follow-up to HIVE-1836

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