Uploaded image for project: 'Apache Sedona'
  1. Apache Sedona
  2. SEDONA-208

Use Spark RuntimeConfig in SedonaConf

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.1

    Description

      Sedona properties can only be set when the spark context is created. That's because properties are read from the spark context instead of SparkSession.conf. It would be nice if properties could be changed at runtime. Just like https://spark.apache.org/docs/latest/configuration.html#runtime-sql-configuration

      Then we could do

       

      spark = ...
      spark.conf.set("sedona.use.index",true)
      // execute indexed query
      spark.conf.set("sedona.use.index",false)
      // execute non indexed query
      

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              umartin Martin Andersson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m