You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Prasanth Jayachandran (JIRA)" <ji...@apache.org> on 2017/08/01 22:57:00 UTC

[jira] [Resolved] (ORC-221) RecordReaderImpl::evaluatePredicateMinMax should check whether predicate.getLiteralList() is empty

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

Prasanth Jayachandran resolved ORC-221.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.1
                   1.5.0
                   1.3.4

Committed to branch-1.3, branch-1.4 and master. Thanks [~rajesh.balamohan] for the contribution!

> RecordReaderImpl::evaluatePredicateMinMax should check whether predicate.getLiteralList() is empty
> --------------------------------------------------------------------------------------------------
>
>                 Key: ORC-221
>                 URL: https://issues.apache.org/jira/browse/ORC-221
>             Project: ORC
>          Issue Type: Improvement
>            Reporter: Rajesh Balamohan
>            Assignee: Rajesh Balamohan
>            Priority: Minor
>             Fix For: 1.3.4, 1.5.0, 1.4.1
>
>
> With HIVE-17209, it is possible to get empty list when invoking {{predicate.getLiteralList}}. When evaluating {{BETWEEN}} operator in {{RecordReaderImpl::evaluatePredicateMinMax}}, it is possible to get {{IndexOutOfBoundsException}}. 
> Though exception is caught and skips PPD in {{pickRowGroups}}, it would be good to avoid this exception being generated too many times by having boundary checks.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)