hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3672) Support altering partition column type in Hive
Date Fri, 22 Feb 2013 20:24:13 GMT

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

Hudson commented on HIVE-3672:
------------------------------

Integrated in hive-trunk-hadoop1 #98 (See [https://builds.apache.org/job/hive-trunk-hadoop1/98/])
    HIVE-3672 Support altering partition column type in Hive
(Jingwei Lu via namit) (Revision 1449109)

     Result = ABORTED
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1449109
Files : 
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.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/java/org/apache/hadoop/hive/ql/parse/HiveParser.g
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/AlterTableAlterPartDesc.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/AlterTableDesc.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/DDLWork.java
* /hive/trunk/ql/src/test/queries/clientnegative/alter_partition_coltype_2columns.q
* /hive/trunk/ql/src/test/queries/clientnegative/alter_partition_coltype_invalidcolname.q
* /hive/trunk/ql/src/test/queries/clientnegative/alter_partition_coltype_invalidtype.q
* /hive/trunk/ql/src/test/queries/clientpositive/alter_partition_coltype.q
* /hive/trunk/ql/src/test/results/clientnegative/alter_partition_coltype_2columns.q.out
* /hive/trunk/ql/src/test/results/clientnegative/alter_partition_coltype_invalidcolname.q.out
* /hive/trunk/ql/src/test/results/clientnegative/alter_partition_coltype_invalidtype.q.out
* /hive/trunk/ql/src/test/results/clientpositive/alter_partition_coltype.q.out

                
> Support altering partition column type in Hive
> ----------------------------------------------
>
>                 Key: HIVE-3672
>                 URL: https://issues.apache.org/jira/browse/HIVE-3672
>             Project: Hive
>          Issue Type: Improvement
>          Components: CLI, SQL
>            Reporter: Jingwei Lu
>            Assignee: Jingwei Lu
>              Labels: features
>             Fix For: 0.11.0
>
>         Attachments: HIVE-3672.1.patch.txt, HIVE-3672.2.patch.txt, HIVE-3672.3.patch.txt,
HIVE-3672.4.patch.txt, HIVE-3672.5.patch.txt, HIVE-3672.6.patch.txt, HIVE-3672.6.patch.txt,
HIVE-3672.7.patch.txt, HIVE-3672.8.patch.txt, HIVE-3672.9.patch.txt
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Currently, Hive does not allow altering partition column types.  As we've discouraged
users from using non-string partition column types, this presents a problem for users who
want to change there partition columns to be strings, they have to rename their table, create
a new table, and copy all the data over.
> To support this via the CLI, adding a command like ALTER TABLE <table_name> PARTITION
COLUMN (<column_name> <new type>);

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

Mime
View raw message