Martin Andersson created SEDONA-208:
---------------------------------------

             Summary: Use Spark RuntimeConfig in SedonaConf
                 Key: SEDONA-208
                 URL: https://issues.apache.org/jira/browse/SEDONA-208
             Project: Apache Sedona
          Issue Type: Improvement
            Reporter: Martin Andersson


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

 
{code:java}
spark = ...
spark.conf.set("sedona.use.index",true)
// execute indexed query
spark.conf.set("sedona.use.index",false)
// execute non indexed query
{code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to