This is an automated email from the ASF dual-hosted git repository. gurwls223 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push: new e2e17fe6e038 [SPARK-47816][CONNECT][DOCS][FOLLOWUP] refine the description e2e17fe6e038 is described below commit e2e17fe6e038d05b78b2008a51a2941b1432d83c Author: Ruifeng Zheng <ruife...@apache.org> AuthorDate: Fri Apr 19 08:54:09 2024 +0900 [SPARK-47816][CONNECT][DOCS][FOLLOWUP] refine the description ### What changes were proposed in this pull request? `lazily evaluated` -> `lazily analyzed` ### Why are the changes needed? to address https://github.com/apache/spark/pull/46007#discussion_r1568045101 Closes #46118 from zhengruifeng/doc_nit. Authored-by: Ruifeng Zheng <ruife...@apache.org> Signed-off-by: Hyukjin Kwon <gurwls...@apache.org> --- python/pyspark/sql/session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/pyspark/sql/session.py b/python/pyspark/sql/session.py index 1098c41a3f4c..e0c2c815c827 100644 --- a/python/pyspark/sql/session.py +++ b/python/pyspark/sql/session.py @@ -1633,7 +1633,7 @@ class SparkSession(SparkConversionMixin): Notes ----- In Spark Classic, a temporary view referenced in `spark.sql` is resolved immediately, - while in Spark Connect it is lazily evaluated. + while in Spark Connect it is lazily analyzed. So in Spark Connect if a view is dropped, modified or replaced after `spark.sql`, the execution may fail or generate different results. @@ -1766,7 +1766,7 @@ class SparkSession(SparkConversionMixin): Notes ----- In Spark Classic, a temporary view referenced in `spark.table` is resolved immediately, - while in Spark Connect it is lazily evaluated. + while in Spark Connect it is lazily analyzed. So in Spark Connect if a view is dropped, modified or replaced after `spark.table`, the execution may fail or generate different results. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org