Gengliang Wang created SPARK-27699:
--------------------------------------

             Summary: Partially push down disjunctive predicated in Parquet/Orc
                 Key: SPARK-27699
                 URL: https://issues.apache.org/jira/browse/SPARK-27699
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Gengliang Wang


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)`.





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to