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

Move SessionHolder.forTesting(...) into the test package

    XMLWordPrintableJSON

Details

    Description

      The `SessionHolder.forTesting(...)` method is widely used in several Spark Connect testing suites. However, this test-specific code is located in the source code, and incorrect use may lead to the creation of a partial/buggy Spark Connect session during production runtime.

       

      This ticket proposes to isolate this piece of code within the test package to avoid accidental usage during runtime.

      Attachments

        Issue Links

          Activity

            People

              vicennial Venkata Sai Akhil Gudesa
              vicennial Venkata Sai Akhil Gudesa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: