cloud-fan commented on code in PR #48820:
URL: https://github.com/apache/spark/pull/48820#discussion_r1860542552


##########
sql/api/src/main/scala/org/apache/spark/sql/Column.scala:
##########
@@ -1383,20 +1383,27 @@ class Column(val node: ColumnNode) extends Logging {
   def over(): Column = over(Window.spec)
 
   /**
-   * Marks this column reference as an outer reference for subqueries.
+   * Mark this column as an outer column if its expression refers to columns 
from an outer query. This
+   * is used to trigger lazy analysis of Spark Classic DataFrame, so that we 
can use it to build
+   * subquery expressions. Spark Connect DataFrame is always lazily analyzed 
and does not need to
+   * use this function.

Review Comment:
   ```suggestion
      * Mark this column as an outer column if its expression refers to columns 
from an outer query.
      * This is used to trigger lazy analysis of Spark Classic DataFrame, so 
that we can use it to
      * build subquery expressions. Spark Connect DataFrame is always lazily 
analyzed and does not
      * need to use this function.
   ```



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to