hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jiraposter@reviews.apache.org (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2319) Calling alter_table after changing partition comment throws an exception
Date Thu, 28 Jul 2011 07:07:11 GMT

    [ https://issues.apache.org/jira/browse/HIVE-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13072219#comment-13072219
] 

jiraposter@reviews.apache.org commented on HIVE-2319:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1213/
-----------------------------------------------------------

(Updated 2011-07-28 07:06:24.236980)


Review request for hive and Paul Yang.


Changes
-------

Fixed some of the test case logic.


Summary
-------

Altering a table's partition key comments raises an InvalidOperationException. The partition
key name and type should not be mutable, but the comment should be able to get changed.


This addresses bug HIVE-2319.
    https://issues.apache.org/jira/browse/HIVE-2319


Diffs (updated)
-----

  trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java 1151219

  trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java 1151219


Diff: https://reviews.apache.org/r/1213/diff


Testing
-------

Added some test cases to HiveMetaStore that pass.


Thanks,

Sohan



> Calling alter_table after changing partition comment throws an exception
> ------------------------------------------------------------------------
>
>                 Key: HIVE-2319
>                 URL: https://issues.apache.org/jira/browse/HIVE-2319
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Sohan Jain
>
> Altering a table's partition key comments raises an InvalidOperationException.  The partition
key name and type should not be mutable, but the comment should be able to get changed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message