Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 67899 invoked from network); 17 Mar 2009 00:18:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2009 00:18:12 -0000 Received: (qmail 69862 invoked by uid 500); 17 Mar 2009 00:18:11 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 69848 invoked by uid 500); 17 Mar 2009 00:18:11 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 69826 invoked by uid 99); 17 Mar 2009 00:18:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Mar 2009 17:18:11 -0700 X-ASF-Spam-Status: No, hits=-1999.6 required=10.0 tests=ALL_TRUSTED,SUBJECT_FUZZY_TION X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 00:18:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6DB00234C004 for ; Mon, 16 Mar 2009 17:17:50 -0700 (PDT) Message-ID: <699523816.1237249070434.JavaMail.jira@brutus> Date: Mon, 16 Mar 2009 17:17:50 -0700 (PDT) From: "Namit Jain (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Updated: (HIVE-347) [hive] lot of mappers due to a user error while specifying the partitioning column In-Reply-To: <1184621065.1236983930950.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Namit Jain updated HIVE-347: ---------------------------- Status: Open (was: Patch Available) > [hive] lot of mappers due to a user error while specifying the partitioning column > ---------------------------------------------------------------------------------- > > Key: HIVE-347 > URL: https://issues.apache.org/jira/browse/HIVE-347 > Project: Hadoop Hive > Issue Type: Bug > Components: Query Processor > Reporter: Namit Jain > Assignee: Namit Jain > Attachments: hive.347.1.patch, hive.347.2.patch, hive.347.3.patch > > > A common scenario when the table is partitioned on 'ds' column which is of type 'string' of a certain format 'yyyy-mm-dd' > However, if the user forgets to add quotes while specifying the query: > select ... from T where ds = 2009-02-02 > 2009-02-02 is a valid integer expression. So, partition pruning makes all partitions unknown, since 2009-02-02 to double conversion is null. > If all partitions are unknown, in strict mode, we should thrown an error -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.