You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "zhengruifeng (via GitHub)" <gi...@apache.org> on 2026/07/28 04:00:02 UTC
[PR] [WIP][ML][CONNECT] Add Bucketizer size estimate [spark]
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-58397][ML][CONNECT] Add Bucketizer size estimate [spark]
Posted by "uros-b (via GitHub)" <gi...@apache.org>.
uros-b closed pull request #57591: [SPARK-58397][ML][CONNECT] Add Bucketizer size estimate
URL: https://github.com/apache/spark/pull/57591
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-58397][ML][CONNECT] Add Bucketizer size estimate [spark]
Posted by "uros-b (via GitHub)" <gi...@apache.org>.
uros-b commented on PR #57591:
URL: https://github.com/apache/spark/pull/57591#issuecomment-5102838610
**Merge Summary:**
- merged into master https://github.com/apache/spark/commit/b2918df83111fe7683c4b7e6c9aac3a2b347231d
- merged into branch-4.x https://github.com/apache/spark/commit/799c8287be6ac669afcfe2572ed14ff85c375492
*Posted by `merge_spark_pr.py`*
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org