Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9BB1018D26 for ; Wed, 30 Sep 2015 23:28:11 +0000 (UTC) Received: (qmail 15767 invoked by uid 500); 30 Sep 2015 23:28:05 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 15640 invoked by uid 500); 30 Sep 2015 23:28:05 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 15545 invoked by uid 99); 30 Sep 2015 23:28:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2015 23:28:05 +0000 Date: Wed, 30 Sep 2015 23:28:05 +0000 (UTC) From: "Julian Hyde (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-11918) Implement/Enable constant related optimization rules in Calcite 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-11918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14939053#comment-14939053 ] Julian Hyde commented on HIVE-11918: ------------------------------------ Slight correction. If upgrading is hard, it might be possible to create a copy-paste rule that goes around RexBuilder. > Implement/Enable constant related optimization rules in Calcite > --------------------------------------------------------------- > > Key: HIVE-11918 > URL: https://issues.apache.org/jira/browse/HIVE-11918 > Project: Hive > Issue Type: Improvement > Reporter: Pengcheng Xiong > Assignee: Pengcheng Xiong > > Right now, Hive optimizer (Calcite) is short of the constant related optimization rules. For example, constant folding, constant propagation and constant transitive rules. Although Hive later provides those rules in the logical optimizer, we would like to implement those inside Calcite. This will benefit the current optimization as well as the optimization based on return path that we are planning to use in the future. This JIRA is the umbrella JIRA to implement/enable those rules. -- This message was sent by Atlassian JIRA (v6.3.4#6332)