Rajesh Balamohan created ORC-221:
------------------------------------

             Summary: 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