[ 
https://issues.apache.org/jira/browse/ORC-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16109944#comment-16109944
 ] 

ASF GitHub Bot commented on ORC-221:
------------------------------------

Github user prasanthj commented on the issue:

    https://github.com/apache/orc/pull/145
  
    +1


> 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
>            Priority: Minor
>
> 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)

Reply via email to