Uh oh!
There was an error while loading. Please reload this page.
[SPARK-28220][SQL] Improve PropagateEmptyRelation to support join with false condition - #31857
[SPARK-28220][SQL] Improve PropagateEmptyRelation to support join with false condition#31857wangyum wants to merge 8 commits into
Conversation
Uh oh!
There was an error while loading. Please reload this page.
wangyum
commented
Mar 17, 2021
cc @cloud-fan |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
SparkQA
commented
Mar 19, 2021
Kubernetes integration test starting |
SparkQA
commented
Mar 19, 2021
Kubernetes integration test status failure |
SparkQA
commented
Mar 19, 2021
Test build #136250 has finished for PR 31857 at commit
|
| private def pushDownJoinConditions(conditions: Seq[Expression], plan: LogicalPlan) = { | ||
| conditions | ||
| .filterNot(_.semanticEquals(TrueLiteral)) // Push down true condition is useless. |
There was a problem hiding this comment.
shouldn't this be optimized by BooleanSimplification already? true And cond -> cond
There was a problem hiding this comment.
It is another issue. Will be fixed by another PR.
SparkQA
commented
Mar 19, 2021
Kubernetes integration test starting |
SparkQA
commented
Mar 19, 2021
Kubernetes integration test status failure |
# Conflicts: # sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/PropagateEmptyRelationSuite.scala
SparkQA
commented
Mar 19, 2021
Test build #136259 has finished for PR 31857 at commit
|
SparkQA
commented
Mar 19, 2021
Test build #136263 has finished for PR 31857 at commit
|
SparkQA
commented
Mar 19, 2021
Kubernetes integration test starting |
SparkQA
commented
Mar 19, 2021
Kubernetes integration test status failure |
wangyum
commented
Mar 19, 2021
retest this please. |
SparkQA
commented
Mar 20, 2021
Kubernetes integration test starting |
SparkQA
commented
Mar 20, 2021
Kubernetes integration test status failure |
SparkQA
commented
Mar 20, 2021
Test build #136273 has finished for PR 31857 at commit
|
wangyum
commented
Mar 20, 2021
Merged to master. |
dongjoon-hyun
left a comment
There was a problem hiding this comment.
+1, late LGTM.
Thank you, @wangyum and @cloud-fan .
What changes were proposed in this pull request?
Improve
PropagateEmptyRelationto support join with false condition. For example:Before this pr:
After this pr:
Why are the changes needed?
Avoid
BroadcastNestedLoopJointo improve query performance.Does this PR introduce any user-facing change?
No.
How was this patch tested?
Unit test.