Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • None
    • None

    Description

      Currently, default_session is not working properly in Spark Connect as below:

      >>> spark = default_session()
      >>> spark.conf.set("default_index_type", "sequence")
      >>> spark.conf.get("default_index_type")
      'sequence'
      >>>
      >>> spark = default_session()
      >>> spark.conf.get("default_index_type")
      Traceback (most recent call last):
      ...
      pyspark.errors.exceptions.connect.SparkConnectGrpcException: (java.util.NoSuchElementException) default_index_type
      

      It should work as expected in regular PySpark as below:

      >>> spark = default_session()
      >>> spark.conf.set("default_index_type", "sequence")
      >>> spark.conf.get("default_index_type")
      'sequence'
      >>>
      >>> spark = default_session()
      >>> spark.conf.get("default_index_type")
      'sequence'

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              itholic Haejoon Lee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: