[
https://issues.apache.org/jira/browse/SPARK-42663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17713391#comment-17713391
]
Haejoon Lee edited comment on SPARK-42663 at 4/18/23 5:20 AM:
--------------------------------------------------------------
Sorry for the late responding, [~Wencong Liu] . It's resolved from SPARK-42859.
If you're still interested in contribution I can recommend some other item for
beginners.
Thanks for your interest to contribute to Apache Spark!
was (Author: itholic):
Sorry for the late responding, [~Wencong Liu] . It's resolved from SPARK-42859.
If you're still interested in contribution I can recommend some other item for
beginners.
> Fix `default_session` to work properly
> --------------------------------------
>
> Key: SPARK-42663
> URL: https://issues.apache.org/jira/browse/SPARK-42663
> Project: Spark
> Issue Type: Sub-task
> Components: Connect, Pandas API on Spark
> Affects Versions: 3.5.0
> Reporter: Haejoon Lee
> Priority: Major
>
> Currently, default_session is not working properly in Spark Connect as below:
> {code:java}
> >>> 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
> {code}
> It should work as expected in regular PySpark as below:
> {code:java}
> >>> 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'{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]