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

Test spark sessions should set default session

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.3.1, 2.4.0
    • SQL
    • None

    Description

      SparkSession.getOrCreate() ensures that the session it returns is set as a default. Test code (TestSparkSession and TestHiveSparkSession) shortcuts around this method, and thus a default is never set. We need to set it.

      Attachments

        Activity

          People

            joseph.torres Jose Torres
            joseph.torres Jose Torres
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: