You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (Jira)" <ji...@apache.org> on 2020/07/14 10:05:00 UTC

[jira] [Created] (SPARK-32302) Partially push down disjunctive predicates through Join

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org