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 604E110DD1 for ; Fri, 8 Aug 2014 19:17:13 +0000 (UTC) Received: (qmail 42039 invoked by uid 500); 8 Aug 2014 19:17:13 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 41972 invoked by uid 500); 8 Aug 2014 19:17: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 41721 invoked by uid 500); 8 Aug 2014 19:17:12 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 41717 invoked by uid 99); 8 Aug 2014 19:17:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2014 19:17:12 +0000 Date: Fri, 8 Aug 2014 19:17:12 +0000 (UTC) From: "Hari Sankar Sivarama Subramaniyan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-6959) Enable Constant propagation optimizer for Hive Vectorization 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-6959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hari Sankar Sivarama Subramaniyan updated HIVE-6959: ---------------------------------------------------- Attachment: HIVE-6959.6.patch updated the MiniTezCliDriver test results as well. > Enable Constant propagation optimizer for Hive Vectorization > ------------------------------------------------------------ > > Key: HIVE-6959 > URL: https://issues.apache.org/jira/browse/HIVE-6959 > Project: Hive > Issue Type: Bug > Reporter: Hari Sankar Sivarama Subramaniyan > Assignee: Hari Sankar Sivarama Subramaniyan > Attachments: HIVE-6959.1.patch, HIVE-6959.2.patch, HIVE-6959.4.patch, HIVE-6959.5.patch, HIVE-6959.6.patch > > > HIVE-5771 covers Constant propagation optimizer for Hive. Now that HIVE-5771 is committed, we should remove any vectorization related code which duplicates this feature. For example, a fn to be cleaned is VectorizarionContext::foldConstantsForUnaryExprs(). In addition to this change, constant propagation should kick in when vectorization is enabled. i.e. we need to lift the HIVE_VECTORIZATION_ENABLED restriction inside ConstantPropagate::transform(). -- This message was sent by Atlassian JIRA (v6.2#6252)