HyukjinKwon commented on code in PR #42548:
URL: https://github.com/apache/spark/pull/42548#discussion_r1299494819
##########
python/pyspark/sql/tests/connect/test_connect_basic.py:
##########
@@ -3347,6 +3347,22 @@ def
test_can_create_multiple_sessions_to_different_remotes(self):
self.assertIn("Create a new SparkSession is only supported with
SparkConnect.", str(e))
+class SparkConnectSessionWithOptionsTest(ReusedConnectTestCase):
+ def setUp(self) -> None:
+ self.spark = (
+ PySparkSession.builder.config("spark.sql.adaptive.enabled", False)
Review Comment:
I think you can just set any config like `config("a", "b")` and
`spark.conf.get("a") == "b"`
--
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]