Gengliang Wang created SPARK-32302:
--------------------------------------

             Summary: Partially push down disjunctive predicates through Join
                 Key: SPARK-32302
                 URL: https://issues.apache.org/jira/browse/SPARK-32302
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.1.0
            Reporter: Gengliang Wang
            Assignee: Gengliang Wang


In https://github.com/apache/spark/pull/28733, CNF conversion is used to push 
down disjunctive predicates through join.

It's a good improvement, however, 
1. converting all the predicates in CNF can lead to a very long result, even 
with grouping functions over expressions.
2.the non-recursive is not easy for understanding.

Essentially, we just need to traverse predicate and extract the convertible 
sub-predicates like what we did in https://github.com/apache/spark/pull/24598. 
There is no need to maintain the CNF result set. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to