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 609A7696 for ; Mon, 20 Aug 2012 21:48:39 +0000 (UTC) Received: (qmail 25402 invoked by uid 500); 20 Aug 2012 21:48:38 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 25330 invoked by uid 500); 20 Aug 2012 21:48:38 -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 25095 invoked by uid 500); 20 Aug 2012 21:48:38 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 25054 invoked by uid 99); 20 Aug 2012 21:48:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2012 21:48:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4AB252C5BF6 for ; Mon, 20 Aug 2012 21:48:38 +0000 (UTC) Date: Tue, 21 Aug 2012 08:48:38 +1100 (NCT) From: "Carl Steinbach (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1854094052.32239.1345499318306.JavaMail.jiratomcat@arcas> 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 [ https://issues.apache.org/jira/browse/HIVE-2049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carl Steinbach updated HIVE-2049: --------------------------------- Labels: JDO PartitionPruner (was: ) > 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 > Components: Metastore > Reporter: Ning Zhang > Assignee: Ning Zhang > Labels: JDO, PartitionPruner > Fix For: 0.8.0 > > 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. 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