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 DBC4710810 for ; Tue, 1 Apr 2014 01:04:25 +0000 (UTC) Received: (qmail 27662 invoked by uid 500); 1 Apr 2014 01:04:20 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 27544 invoked by uid 500); 1 Apr 2014 01:04:20 -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 27530 invoked by uid 500); 1 Apr 2014 01:04:17 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 27380 invoked by uid 99); 1 Apr 2014 01:04:10 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2014 01:04:10 +0000 Date: Tue, 1 Apr 2014 01:04:10 +0000 (UTC) From: "Harish Butani (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-6786) Off by one error in ORC PPD 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-6786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13955967#comment-13955967 ] Harish Butani commented on HIVE-6786: ------------------------------------- +1 for 0.13 > Off by one error in ORC PPD > ---------------------------- > > Key: HIVE-6786 > URL: https://issues.apache.org/jira/browse/HIVE-6786 > Project: Hive > Issue Type: Bug > Affects Versions: 0.13.0 > Reporter: Gopal V > Assignee: Prasanth J > Priority: Critical > Fix For: 0.13.0 > > Attachments: HIVE-6786.1.patch > > > Turning on ORC PPD makes split computation fail for a 10Tb benchmark. > Narrowed down to the following code fragment > https://github.com/apache/hive/blob/branch-0.13/ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.java#L757 > {code} > includeStripe[i] = (i > stripeStats.size()) || > isStripeSatisfyPredicate(stripeStats.get(i), sarg, > filterColumns); > {code} > I would guess that should be a >=, but [~prasanth_j], can you comment if that is the right fix? -- This message was sent by Atlassian JIRA (v6.2#6252)