Github user davies commented on a diff in the pull request: https://github.com/apache/spark/pull/9120#discussion_r42531676 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala --- @@ -850,6 +851,15 @@ class SQLQuerySuite extends QueryTest with SharedSQLContext { Row(null, null, 6, "F") :: Nil) } + test("SPARK-11111 null-safe join should not use cartesian product") { + val df = sql("select count(*) from testData a join testData b on (a.key <=> b.key)") + val cp = df.queryExecution.executedPlan.collect { + case cp: CartesianProduct => cp --- End diff -- added
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org