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 EC2CA10F58 for ; Tue, 13 Jan 2015 17:09:34 +0000 (UTC) Received: (qmail 26685 invoked by uid 500); 13 Jan 2015 17:09:35 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 26573 invoked by uid 500); 13 Jan 2015 17:09:35 -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 26363 invoked by uid 500); 13 Jan 2015 17:09:35 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 26337 invoked by uid 99); 13 Jan 2015 17:09:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2015 17:09:35 +0000 Date: Tue, 13 Jan 2015 17:09:34 +0000 (UTC) From: "Gopal V (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-9255) Fastpath for limited fetches from unpartitioned tables 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-9255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gopal V updated HIVE-9255: -------------------------- Attachment: HIVE-9255.2.patch Regenerate q.out for the "select cast(...) ... limit 10;" case without the filter. > Fastpath for limited fetches from unpartitioned tables > ------------------------------------------------------ > > Key: HIVE-9255 > URL: https://issues.apache.org/jira/browse/HIVE-9255 > Project: Hive > Issue Type: Bug > Components: Physical Optimizer > Affects Versions: 0.14.0, 0.15.0 > Reporter: Gopal V > Assignee: Gopal V > Priority: Minor > Attachments: HIVE-9255.1.patch, HIVE-9255.2.patch > > > Currently, for flat tables, the threshold check is applicable for a query like {{select * from lineitem limit 1;}}. > This is not necessary as without a filter clause, this can be executed entirely via FetchTask. Running a cluster task is redundant for this case. > This fastpath is applicable for partitioned tables already. -- This message was sent by Atlassian JIRA (v6.3.4#6332)