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/01/17 01:12:02 UTC

[jira] Created: (HIVE-239) alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata

alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata
---------------------------------------------------------------------------------------------------------------------------------

                 Key: HIVE-239
                 URL: https://issues.apache.org/jira/browse/HIVE-239
             Project: Hadoop Hive
          Issue Type: Bug
          Components: Metastore
            Reporter: Prasad Chakka


there is no way for user to revert back and this check should be done in alter table function.

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


[jira] Updated: (HIVE-239) alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata

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

Prasad Chakka updated HIVE-239:
-------------------------------

    Attachment: hive-239.patch

> alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-239
>                 URL: https://issues.apache.org/jira/browse/HIVE-239
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Prasad Chakka
>         Attachments: hive-239.patch
>
>
> there is no way for user to revert back and this check should be done in alter table function.

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


[jira] Updated: (HIVE-239) alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata

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

Carl Steinbach updated HIVE-239:
--------------------------------

    Fix Version/s: 0.3.0
                       (was: 0.6.0)

> alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-239
>                 URL: https://issues.apache.org/jira/browse/HIVE-239
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>             Fix For: 0.3.0
>
>         Attachments: hive-239.2.patch, hive-239.3.patch, hive-239.patch, hive-239.patch
>
>
> there is no way for user to revert back and this check should be done in alter table function.

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


[jira] Updated: (HIVE-239) alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata

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

Prasad Chakka updated HIVE-239:
-------------------------------

    Assignee: Prasad Chakka
      Status: Patch Available  (was: Open)

> alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-239
>                 URL: https://issues.apache.org/jira/browse/HIVE-239
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>         Attachments: hive-239.patch
>
>
> there is no way for user to revert back and this check should be done in alter table function.

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


[jira] Updated: (HIVE-239) alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata

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

Prasad Chakka updated HIVE-239:
-------------------------------

    Attachment: hive-239.patch

previous patch was relative ql instead of hive/trunk

> alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-239
>                 URL: https://issues.apache.org/jira/browse/HIVE-239
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>         Attachments: hive-239.patch, hive-239.patch
>
>
> there is no way for user to revert back and this check should be done in alter table function.

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


[jira] Updated: (HIVE-239) alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata

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

Prasad Chakka updated HIVE-239:
-------------------------------

    Attachment: hive-239.3.patch

updated two test outputs to match the incorrect spelling

> alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-239
>                 URL: https://issues.apache.org/jira/browse/HIVE-239
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>         Attachments: hive-239.2.patch, hive-239.3.patch, hive-239.patch, hive-239.patch
>
>
> there is no way for user to revert back and this check should be done in alter table function.

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


[jira] Commented: (HIVE-239) alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata

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

Ashish Thusoo commented on HIVE-239:
------------------------------------

Looks fine to me.

The error message though has a misspelling for column...

Can you fix that. I will check it in once that is done...

> alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-239
>                 URL: https://issues.apache.org/jira/browse/HIVE-239
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>         Attachments: hive-239.patch, hive-239.patch
>
>
> there is no way for user to revert back and this check should be done in alter table function.

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


[jira] Commented: (HIVE-239) alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata

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

Zheng Shao commented on HIVE-239:
---------------------------------

+1

> alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-239
>                 URL: https://issues.apache.org/jira/browse/HIVE-239
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>         Attachments: hive-239.2.patch, hive-239.patch, hive-239.patch
>
>
> there is no way for user to revert back and this check should be done in alter table function.

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


[jira] Updated: (HIVE-239) alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata

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

Prasad Chakka updated HIVE-239:
-------------------------------

    Attachment: hive-239.2.patch

fixed the spelling mistake

> alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-239
>                 URL: https://issues.apache.org/jira/browse/HIVE-239
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>         Attachments: hive-239.2.patch, hive-239.patch, hive-239.patch
>
>
> there is no way for user to revert back and this check should be done in alter table function.

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


[jira] Commented: (HIVE-239) alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata

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

Ashish Thusoo commented on HIVE-239:
------------------------------------

some of the tests failed due to the change in the error message. Can you recapture and upload a new patch.


> alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-239
>                 URL: https://issues.apache.org/jira/browse/HIVE-239
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>         Attachments: hive-239.2.patch, hive-239.patch, hive-239.patch
>
>
> there is no way for user to revert back and this check should be done in alter table function.

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


[jira] Updated: (HIVE-239) alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata

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

Ashish Thusoo updated HIVE-239:
-------------------------------

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

committed. Thanks Prasad!!

> alter table repalce columns allows adding of new columns with the same name as that of a partition column which corrupts metadata
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-239
>                 URL: https://issues.apache.org/jira/browse/HIVE-239
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>             Fix For: 0.2.0
>
>         Attachments: hive-239.2.patch, hive-239.3.patch, hive-239.patch, hive-239.patch
>
>
> there is no way for user to revert back and this check should be done in alter table function.

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