malinjawi commented on code in PR #13843:
URL: https://github.com/apache/gluten/pull/13843#discussion_r4746528882


##########
gluten-core/src/main/scala/org/apache/gluten/config/GlutenCoreConfig.scala:
##########
@@ -163,7 +163,7 @@ object GlutenCoreConfig extends ConfigRegistry {
       .createWithDefault(0.3d)
 
   val COLUMNAR_MEMORY_RESERVATION_BLOCK_SIZE =
-    buildConf("spark.gluten.memory.reservationBlockSize")
+    buildStaticConf("spark.gluten.memory.reservationBlockSize")

Review Comment:
   Good point @zhztheplayer . I made it static because native code reads the 
value only once, at startup, so a runtime SET would change only the JVM side 
and the two would disagree again. 
   
   But that's true of every other config forwarded to native, and none of them 
are static, so it isn't worth breaking jobs that set it at runtime. I've 
dropped it, and the PR now only forwards the value.
   



-- 
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]

Reply via email to