Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5905FEBE3 for ; Sat, 23 Feb 2013 04:04:19 +0000 (UTC) Received: (qmail 41243 invoked by uid 500); 23 Feb 2013 04:04:17 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 40956 invoked by uid 500); 23 Feb 2013 04:04:16 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 40883 invoked by uid 500); 23 Feb 2013 04:04:14 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 40862 invoked by uid 99); 23 Feb 2013 04:04:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Feb 2013 04:04:13 +0000 Date: Sat, 23 Feb 2013 04:04:13 +0000 (UTC) From: "Hudson (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-3672) Support altering partition column type in Hive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13584997#comment-13584997 ] Hudson commented on HIVE-3672: ------------------------------ Integrated in Hive-trunk-h0.21 #1983 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1983/]) HIVE-3672 Support altering partition column type in Hive (Jingwei Lu via namit) (Revision 1449109) Result = SUCCESS 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 PARTITION COLUMN ( ); -- 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