Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-27699

Partially push down disjunctive predicated in Parquet/ORC

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • SQL
    • None

    Description

      Currently, in `ParquetFilters` and `OrcFilters`, if the child predicate of `Or` operator can't be entirely pushed down, the predicates will be thrown away.
      In fact, the conjunctive predicates under `Or` operators can be partially pushed down.
      For example, says `a` and `b` are convertible, while `c` can't be pushed down, the predicate
      `a or (b and c)`
      can be converted as
      `(a or b) and (a or c)`
      We can still push down `(a or b)`.

      Attachments

        Activity

          People

            Gengliang.Wang Gengliang Wang
            Gengliang.Wang Gengliang Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: