[ 
https://issues.apache.org/jira/browse/SPARK-48970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weichen Xu reassigned SPARK-48970:
----------------------------------

    Assignee: Weichen Xu

> 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: Bug
>          Components: ML, PySpark
>    Affects Versions: 4.0.0
>            Reporter: Weichen Xu
>            Assignee: 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to