feat(core): hints for handling histogram out of bounds error for approx_percentile()/approx_median()#6446
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| .put(" is out of bounds for histogram, current covered range [") | ||
| .put(currentLowestValueInAutoRange).put(", ").put(currentHighestValueLimitInAutoRange) | ||
| .put(") cannot be extended any further.\nCaused by: ").put(ex.getMessage()); | ||
|
|
There was a problem hiding this comment.
nit: redundant newline here and on L1282
This PR provides the user with hints to resolve the Histogram out of Bounds error which occurs during the approx_median(d) query,when the inserted values exceed the allowed range for the Histogram.In this case the default precision value for median is set to be 1.