HyukjinKwon commented on code in PR #43653:
URL: https://github.com/apache/spark/pull/43653#discussion_r1382306344
##########
python/pyspark/sql/session.py:
##########
@@ -470,6 +470,14 @@ def getOrCreate(self) -> "SparkSession":
):
url = opts.get("spark.remote",
os.environ.get("SPARK_REMOTE"))
+ if url is None:
+ raise RuntimeError(
Review Comment:
I think you can just simply say that should set `SPARK_REMOTE` or
`spark.remote` option if you intend to enable Spark Connect.
--
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]