Return-Path: Delivered-To: apmail-hive-dev-archive@www.apache.org Received: (qmail 51622 invoked from network); 21 Mar 2011 23:07:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Mar 2011 23:07:49 -0000 Received: (qmail 15028 invoked by uid 500); 21 Mar 2011 23:07:48 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 15005 invoked by uid 500); 21 Mar 2011 23:07:48 -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 14997 invoked by uid 500); 21 Mar 2011 23:07:48 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 14987 invoked by uid 99); 21 Mar 2011 23:07:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2011 23:07:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2011 23:07:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CFC0841EB7 for ; Mon, 21 Mar 2011 23:07:05 +0000 (UTC) Date: Mon, 21 Mar 2011 23:07:05 +0000 (UTC) From: "Ning Zhang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <861180954.2755.1300748825847.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <517848737.14278.1299875219419.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HIVE-2049) Push down partition pruning to JDO filtering for a subset of partition predicates 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-2049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ning Zhang updated HIVE-2049: ----------------------------- Attachment: HIVE-2049.4.patch Attaching a new patch that address review comments. The review board is also updated. > Push down partition pruning to JDO filtering for a subset of partition predicates > --------------------------------------------------------------------------------- > > Key: HIVE-2049 > URL: https://issues.apache.org/jira/browse/HIVE-2049 > Project: Hive > Issue Type: Sub-task > Reporter: Ning Zhang > Assignee: Ning Zhang > Attachments: HIVE-2049.2.patch, HIVE-2049.3.patch, HIVE-2049.4.patch, HIVE-2049.patch > > > Several tasks: > - expose HiveMetaStoreClient.listPartitionsByFilter() to Hive.java so that PartitionPruner can use that for certain partition predicates. > - figure out a safe subset of partition predicates that can be pushed down to JDO filtering. > By my initial testing for the 2nd part is equality queries with AND/OR can be pushed down and return correct results. However range queries on partition columns gave NPE by the JDO execute() function. This might be a bug in the JDO query string itself, but we need to figure it out and heavily test all cases. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira