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 4DC94D5E5 for ; Fri, 27 Jul 2012 14:20:45 +0000 (UTC) Received: (qmail 35495 invoked by uid 500); 27 Jul 2012 14:20:44 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 35451 invoked by uid 500); 27 Jul 2012 14:20:44 -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 35442 invoked by uid 500); 27 Jul 2012 14:20:44 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 35438 invoked by uid 99); 27 Jul 2012 14:20:44 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2012 14:20:44 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 8C540140B94 for ; Fri, 27 Jul 2012 14:20:44 +0000 (UTC) Date: Fri, 27 Jul 2012 14:20:43 +0000 (UTC) From: "rohithsharma (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <191925762.110555.1343398844582.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Created] (HIVE-3309) drop partition doesnot work for mixture of string and non-string columns for non-equality operatior MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 rohithsharma created HIVE-3309: ---------------------------------- Summary: drop partition doesnot work for mixture of string and non-string columns for non-equality operatior Key: HIVE-3309 URL: https://issues.apache.org/jira/browse/HIVE-3309 Project: Hive Issue Type: Bug Components: Metastore, Query Processor Affects Versions: 0.9.1 Environment: SuSE 11 SP 1 Hadoop Cluster + Hive Reporter: rohithsharma Priority: Minor There is still problem in "drop partition" columns if the partition columns are mixture of string and non-string. There is behavioural change after fixing HIVE-3063. Before fix ========== create table ptestfilter (a string, b int) partitioned by (c string, d int); alter table ptestfilter add partition (c='1', d=2); alter table ptestFilter add partition (c='2', d=1); alter table ptestfilter drop partition (c<'2'); //this will execute fine After fix ========== create table ptestfilter (a string, b int) partitioned by (c string, d int); alter table ptestfilter add partition (c='1', d=2); alter table ptestFilter add partition (c='2', d=1); alter table ptestfilter drop partition (c<'2'); //this will fail to execute. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira