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 2BEBECA39 for ; Wed, 17 Dec 2014 17:40:14 +0000 (UTC) Received: (qmail 10403 invoked by uid 500); 17 Dec 2014 17:40:13 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 10325 invoked by uid 500); 17 Dec 2014 17:40:13 -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 10308 invoked by uid 500); 17 Dec 2014 17:40:13 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 10305 invoked by uid 99); 17 Dec 2014 17:40:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2014 17:40:13 +0000 Date: Wed, 17 Dec 2014 17:40:13 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (HIVE-9140) Add ReduceExpressionRules from Calcite into Hive 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-9140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14250183#comment-14250183 ] Ashutosh Chauhan edited comment on HIVE-9140 at 12/17/14 5:39 PM: ------------------------------------------------------------------ [~jpullokkaran] Can you take a look at this one? I initially thought its better to have it in applyPreCBOTransformations() but than I realized that our join ordering algorithm leaves {{where true}} predicates while optimizing tree. Since, it will be good to remove such predicates, I have added these rules alongwith join ordering rules. Let me know what do you think. was (Author: ashutoshc): [~jpullokkaran] Can you take a look at this one? I initially thought its better to have it in applyPreCBOTransformations() but than I realized that our join ordering algorithm leaves {where true} predicates while optimizing tree. Since, it will be good to remove such predicates, I have added these rules alongwith join ordering rules. Let me know what do you think. > Add ReduceExpressionRules from Calcite into Hive > ------------------------------------------------ > > Key: HIVE-9140 > URL: https://issues.apache.org/jira/browse/HIVE-9140 > Project: Hive > Issue Type: Improvement > Components: CBO, Logical Optimizer > Affects Versions: 0.14.0 > Reporter: Ashutosh Chauhan > Assignee: Ashutosh Chauhan > Attachments: HIVE-9140.patch > > > These rules provide a form of constant folding. -- This message was sent by Atlassian JIRA (v6.3.4#6332)