Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-221

RecordReaderImpl::evaluatePredicateMinMax should check whether predicate.getLiteralList() is empty

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.4, 1.4.1, 1.5.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              rajesh.balamohan Rajesh Balamohan
              rajesh.balamohan Rajesh Balamohan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: