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

SparkSession clone discards SQLConf overrides in favor of SparkConf defaults

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 3.0.0
    • Structured Streaming
    • None

    Description

      SparkSession.cloneSession() is normally supposed to create a child session which inherits all the SQLConf values of its parent session. But when a SQL conf is given a global default through the SparkConf, this does not happen; the child session will receive the SparkConf default rather than its parent's SQLConf override.

       

      This is particularly impactful in structured streaming, as the microbatches run in a cloned child session.

      Attachments

        Activity

          People

            chakravarthi Chakravarthi
            joseph.torres Jose Torres
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: