zhengruifeng opened a new pull request, #57591:
URL: https://github.com/apache/spark/pull/57591

   ### What changes were proposed in this pull request?
   
   Adds a specialized `Bucketizer.estimatedSize` implementation that charges 
its parameter metadata. Adds a bounded-size regression test.
   
   ### Why are the changes needed?
   
   Bucketizer is a model whose state is entirely represented by its parameter 
maps, so its cache charge can use the precise metadata estimate instead of a 
generic object-graph walk.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Added `Bucketizer estimated size` coverage in `BucketizerSuite`. The suite 
was not run locally.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Codex (GPT-5)


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