Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C36CB2009F3 for ; Fri, 20 May 2016 17:17:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C1E98160A0E; Fri, 20 May 2016 15:17:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 09A371609B1 for ; Fri, 20 May 2016 17:17:13 +0200 (CEST) Received: (qmail 20955 invoked by uid 500); 20 May 2016 15: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 20944 invoked by uid 99); 20 May 2016 15:17:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 May 2016 15:17:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E2B7C2C033A for ; Fri, 20 May 2016 15:17:12 +0000 (UTC) Date: Fri, 20 May 2016 15:17:12 +0000 (UTC) From: "Jesus Camacho Rodriguez (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-13805) Extend HiveSortLimitPullUpConstantsRule to pull up constants even when SortLimit is the root of the plan MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 20 May 2016 15:17:14 -0000 Jesus Camacho Rodriguez created HIVE-13805: ---------------------------------------------- Summary: Extend HiveSortLimitPullUpConstantsRule to pull up constants even when SortLimit is the root of the plan Key: HIVE-13805 URL: https://issues.apache.org/jira/browse/HIVE-13805 Project: Hive Issue Type: Sub-task Components: CBO Affects Versions: 2.1.0 Reporter: Jesus Camacho Rodriguez Assignee: Jesus Camacho Rodriguez Follow-up of HIVE-13068. Limitation in the original HiveSortLimitPullUpConstantsRule rule. Currently Calcite rule does not pull-up constants when the Sort/Limit operator is on top of the operator tree, as this was causing Hive limit related optimizations to not kick in. -- This message was sent by Atlassian JIRA (v6.3.4#6332)