Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.5.0
-
None
-
None
Description
Currently, default_session is not working properly in Spark Connect as below:
>>> spark = default_session() >>> spark.conf.set("default_index_type", "sequence") >>> spark.conf.get("default_index_type") 'sequence' >>> >>> spark = default_session() >>> spark.conf.get("default_index_type") Traceback (most recent call last): ... pyspark.errors.exceptions.connect.SparkConnectGrpcException: (java.util.NoSuchElementException) default_index_type
It should work as expected in regular PySpark as below:
>>> spark = default_session() >>> spark.conf.set("default_index_type", "sequence") >>> spark.conf.get("default_index_type") 'sequence' >>> >>> spark = default_session() >>> spark.conf.get("default_index_type") 'sequence'
Attachments
Issue Links
- is duplicated by
-
SPARK-42859 Basic support for pandas API on Spark
- Resolved