LuciferYang opened a new pull request, #13764:
URL: https://github.com/apache/gluten/pull/13764

   ## What changes are proposed in this pull request?
   
   `spark.gluten.memory.manager.capacity.ratio` (#12258) is read by 
`VeloxBackend` when it sizes the global Velox memory manager, but 
`GlutenConfig.getNativeBackendConf` did not forward it, so the setting had no 
effect and the native side always used its 0.75 default.
   
   The key is now in the list of keys that `getNativeBackendConf` forwards when 
set. When it is not set, nothing is passed and the native default still applies.
   
   Fixes #13763.
   
   ## How was this patch tested?
   
   Added a test to `VeloxConfigSuite` that checks `getNativeBackendConf` passes 
the ratio through when it is set and leaves it out when it is not. It fails on 
the old code.
   
   ## Was this patch authored or co-authored using generative AI tooling?
   
   Yes. Generated-by: Claude Opus.
   


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