Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-48970

Avoid using SparkSession.getActiveSession in spark ML reader/writer

    XMLWordPrintableJSON

Details

    Description

      `SparkSession.getActiveSession` is thread-local session, but spark ML reader / writer might be executed in different threads which causes `SparkSession.getActiveSession` returning None.

      Attachments

        Issue Links

          Activity

            People

              weichenxu123 Weichen Xu
              weichenxu123 Weichen Xu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: