malinjawi opened a new pull request, #12036: URL: https://github.com/apache/gluten/pull/12036
### What changes were proposed in this pull request? This PR registers Gluten config entries with Spark SQLConf metadata and updates GlutenConfig.get to read the active SparkSession SQLConf before falling back to SQLConf.get. ### Why are the changes needed? Spark treats keys stored only in the thread-local SQLConf as non-modifiable. Registering Gluten configs with SQLConf and reading SparkSession state lets spark.conf.isModifiable report dynamic Gluten configs correctly while preserving static config behavior. Fixes #11998. ### How was this patch tested? - ./dev/run-scala-test.sh -Pjava-17,spark-4.0,scala-2.13,backends-velox,hadoop-3.3,spark-ut,delta -pl gluten-ut/spark40 -s org.apache.spark.sql.GlutenRuntimeConfigSuite - ./dev/run-scala-test.sh -Pjava-17,spark-4.1,scala-2.13,backends-velox,hadoop-3.3,spark-ut,delta -pl gluten-ut/spark41 -s org.apache.spark.sql.GlutenRuntimeConfigSuite - git diff --check A clean worktree non-Delta Spark 4.1 run also reached ScalaTest startup after test compilation, but aborted locally because the fresh worktree lacked darwin/aarch64/libgluten.dylib. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
