Please sign in to comment.
[SPARK-24128][SQL] Mention configuration option in implicit CROSS JOI…
…N error ## What changes were proposed in this pull request? Mention `spark.sql.crossJoin.enabled` in error message when an implicit `CROSS JOIN` is detected. ## How was this patch tested? `CartesianProductSuite` and `JoinSuite`. Author: Henry Robinson <email@example.com> Closes #21201 from henryr/spark-24128. (cherry picked from commit cd12c5c) Signed-off-by: hyukjinkwon <firstname.lastname@example.org>
- Loading branch information...
Showing with 9 additions and 7 deletions.
- +2 −2 R/pkg/tests/fulltests/test_sparkSQL.R
- +4 −2 sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala
- +1 −1 ...catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/CheckCartesianProductsSuite.scala
- +2 −2 sql/core/src/test/scala/org/apache/spark/sql/JoinSuite.scala