Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-144

Do partition pruning for arbitrary predicates that are fully bound by a particular partition column

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 0.6
    • Impala 1.0
    • None
    • None

    Description

      We currently can't utilize a predicate like "country_code in ('DE', 'FR', 'US')" to do partitioning pruning, because that requires an equality predicate or a binary comparison.

      We should create a superclass of planner.ValueRange, ValueSet, that can be constructed with an arbitrary predicate, and whose isInRange(analyzer, valueExpr) constructs a literal predicate by substitution of the valueExpr into the predicate.

      Attachments

        Activity

          People

            marcelk Marcel Kinard
            marcelk Marcel Kinard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: