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 0F22E10121 for ; Fri, 19 Jul 2013 02:58:52 +0000 (UTC) Received: (qmail 61871 invoked by uid 500); 19 Jul 2013 02:58:51 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 61802 invoked by uid 500); 19 Jul 2013 02:58:50 -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 61772 invoked by uid 500); 19 Jul 2013 02:58:49 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 61768 invoked by uid 99); 19 Jul 2013 02:58:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jul 2013 02:58:49 +0000 Date: Fri, 19 Jul 2013 02:58:48 +0000 (UTC) From: "Johndee Burks (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-4890) Make the list of SerDes supported by REPLACECOLS a configuration property MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Johndee Burks created HIVE-4890: ----------------------------------- Summary: Make the list of SerDes supported by REPLACECOLS a configuration property Key: HIVE-4890 URL: https://issues.apache.org/jira/browse/HIVE-4890 Project: Hive Issue Type: New Feature Affects Versions: 0.10.0 Environment: CDH4.3, Hive 0.10 Reporter: Johndee Burks Priority: Minor It would be nice to make the SerDes supported by REPLACECOLS configurable via a configuration property. For instance you cannot use this REPLACECOLS on a table with a RegEx SerDe, brought up here https://issues.apache.org/jira/browse/HIVE-4672. 3062 } else if (alterTbl.getOp() == AlterTableDesc.AlterTableTypes.REPLACECOLS) { 3063 // change SerDe to LazySimpleSerDe if it is columnsetSerDe 3064 if (tbl.getSerializationLib().equals( 3065 "org.apache.hadoop.hive.serde.thrift.columnsetSerDe")) { 3066 console 3067 .printInfo("Replacing columns for columnsetSerDe and changing to LazySimpleSerDe"); 3068 tbl.setSerializationLib(LazySimpleSerDe.class.getName()); 3069 } else if (!tbl.getSerializationLib().equals( 3070 MetadataTypedColumnsetSerDe.class.getName()) 3071 && !tbl.getSerializationLib().equals(LazySimpleSerDe.class.getName()) 3072 && !tbl.getSerializationLib().equals(ColumnarSerDe.class.getName()) 3073 && !tbl.getSerializationLib().equals(DynamicSerDe.class.getName())) { 3074 formatter.consoleError(console, 3075 "Replace columns is not supported for this table. " 3076 + "SerDe may be incompatible.", 3077 formatter.ERROR); -- 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