GitHub user mgaido91 opened a pull request:
https://github.com/apache/spark/pull/20333
[SPARK-23087][SQL] CheckCartesianProduct too restrictive when condition is
false/null
## What changes were proposed in this pull request?
CheckCartesianProduct raises an AnalysisException also when the join
condition is always false/null. In this case, we shouldn't raise it, since the
result will not be a cartesian product.
## How was this patch tested?
added UT
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mgaido91/spark SPARK-23087
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20333.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #20333
----
commit 9c88781dcd4cd301373927bfbe7f3530c80f4f05
Author: Marco Gaido <marcogaido91@...>
Date: 2018-01-19T20:45:29Z
[SPARK-23087][SQL] CheckCartesianProduct too restrictive when condition is
false/null
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]