francis0407 commented on a change in pull request #24344: [SPARK-27440][SQL]
Optimize uncorrelated predicate subquery
URL: https://github.com/apache/spark/pull/24344#discussion_r276538064
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/SubquerySuite.scala
##########
@@ -893,7 +893,7 @@ class SubquerySuite extends QueryTest with
SharedSQLContext {
"""
|SELECT * FROM t1
|WHERE
- |NOT EXISTS (SELECT * FROM t1)
+ |NOT EXISTS (SELECT * FROM t1 AS t2 WHERE t2.i = t1.i)
Review comment:
I changed this test because it focuses on correlated subquery which will
rewrite as join.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]