Skip to content

Commit 26258b0

Browse files
committed
Update finishAnalysis.scala
1 parent 173942d commit 26258b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/finishAnalysis.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ object ReplaceExpressions extends Rule[LogicalPlan] {
5353
}
5454

5555
/**
56-
* Rewritten uncorrelated exists subquery to use ScalarSubquery
56+
* Rewrite non correlated exists subquery to use ScalarSubquery
5757
* WHERE EXISTS (SELECT A FROM TABLE B WHERE COL1 > 10)
58-
* will be rewrite to
58+
* will be rewritten to
5959
* WHERE (SELECT 1 FROM (SELECT A FROM TABLE B WHERE COL1 > 10) LIMIT 1) IS NOT NULL
6060
*/
6161
object RewriteNonCorrelatedExists extends Rule[LogicalPlan] {

0 commit comments

Comments
 (0)