Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 33817 invoked from network); 6 Aug 2009 22:56:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Aug 2009 22:56:32 -0000 Received: (qmail 53052 invoked by uid 500); 6 Aug 2009 22:56:39 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 53007 invoked by uid 500); 6 Aug 2009 22:56:39 -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 52997 invoked by uid 99); 6 Aug 2009 22:56:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2009 22:56:39 +0000 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; Thu, 06 Aug 2009 22:56:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E18D7234C04C for ; Thu, 6 Aug 2009 15:56:14 -0700 (PDT) Message-ID: <238287650.1249599374922.JavaMail.jira@brutus> Date: Thu, 6 Aug 2009 15:56:14 -0700 (PDT) From: "Ashish Thusoo (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Updated: (HIVE-578) Refactor partition pruning code as an optimizer transformation In-Reply-To: <116079467.1245857467359.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-578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Thusoo updated HIVE-578: ------------------------------- Attachment: patch-578_3.txt New patch where the ppr is controlled by a boolean parameter. It kicks in only if ppd and ppr are both true. If any one of them are not true the AST based approach is used. > Refactor partition pruning code as an optimizer transformation > -------------------------------------------------------------- > > Key: HIVE-578 > URL: https://issues.apache.org/jira/browse/HIVE-578 > Project: Hadoop Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.3.0 > Reporter: Ashish Thusoo > Assignee: Ashish Thusoo > Attachments: patch-578.txt, patch-578_1.txt, patch-578_2.txt, patch-578_3.txt > > > Some bugs with partition pruning have been reported and the correct fix for many of them is to rewrite the partition pruning code as an optimizer transformation which gets kicked in after the predicate pushdown code. This refactor also uses the graph walker framework so that the partition pruning code gets consolidated well with the frameworks and does not work on the query block but rather works on the operator tree. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.