[ 
https://issues.apache.org/jira/browse/HIVE-6786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Prasanth J updated HIVE-6786:
-----------------------------

    Attachment: HIVE-6786.1.patch

> 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)

Reply via email to