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 78FA4173BF for ; Thu, 18 Jun 2015 06:54:02 +0000 (UTC) Received: (qmail 16861 invoked by uid 500); 18 Jun 2015 06:54:02 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 16774 invoked by uid 500); 18 Jun 2015 06:54:02 -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 16599 invoked by uid 99); 18 Jun 2015 06:54:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2015 06:54:02 +0000 Date: Thu, 18 Jun 2015 06:54:02 +0000 (UTC) From: "Prasanth Jayachandran (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-11035) PPD: Orc Split elimination fails because filterColumns=[-1] 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-11035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasanth Jayachandran updated HIVE-11035: ----------------------------------------- Attachment: HIVE-11035-branch-1.0.patch > PPD: Orc Split elimination fails because filterColumns=[-1] > ----------------------------------------------------------- > > Key: HIVE-11035 > URL: https://issues.apache.org/jira/browse/HIVE-11035 > Project: Hive > Issue Type: Bug > Affects Versions: 0.14.0, 1.0.0, 1.2.0, 1.1.0, 1.3.0, 2.0.0 > Reporter: Gopal V > Assignee: Prasanth Jayachandran > Attachments: HIVE-11035-branch-1.0.patch, HIVE-11035.patch > > > {code} > create temporary table xx (x int) stored as orc ; > insert into xx values (20),(200); > set hive.fetch.task.conversion=none; > select * from xx where x is null; > {code} > This should generate zero tasks after optional split elimination in the app master, instead of generating the 1 task which for sure hits the row-index filters and removes all rows anyway. > Right now, this runs 1 task for the stripe containing (min=20, max=200, has_null=false), which is broken. > Instead, it returns YES_NO_NULL from the following default case > https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.java#L976 -- This message was sent by Atlassian JIRA (v6.3.4#6332)