You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "grundprinzip (via GitHub)" <gi...@apache.org> on 2023/05/16 03:45:53 UTC
[GitHub] [spark] grundprinzip commented on a diff in pull request #41013: [SPARK-43509][CONNECT] Support Creating multiple Spark Connect sessions
grundprinzip commented on code in PR #41013:
URL: https://github.com/apache/spark/pull/41013#discussion_r1194573380
##########
python/pyspark/sql/utils.py:
##########
@@ -144,7 +144,7 @@ def is_remote() -> bool:
"""
Returns if the current running environment is for Spark Connect.
"""
- return "SPARK_REMOTE" in os.environ
+ return "SPARK_ENABLE_CONNECT_MODE" in os.environ
Review Comment:
No, the usage remains the same.
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org