[
https://issues.apache.org/jira/browse/SPARK-48970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-48970:
-----------------------------------
Labels: pull-request-available (was: )
> Avoid using SparkSession.getActiveSession in spark ML reader/writer
> -------------------------------------------------------------------
>
> Key: SPARK-48970
> URL: https://issues.apache.org/jira/browse/SPARK-48970
> Project: Spark
> Issue Type: Improvement
> Components: ML, PySpark
> Affects Versions: 4.0.0
> Reporter: Weichen Xu
> Priority: Major
> Labels: pull-request-available
>
> `SparkSession.getActiveSession` is thread-local session, but spark ML reader
> / writer might be executed in different threads which causes
> `SparkSession.getActiveSession` returning None.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]