Gopal V created HIVE-6786: ----------------------------- Summary: 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 Priority: Critical
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)