-
Notifications
You must be signed in to change notification settings - Fork 888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java bindings for approx_percentile #9094
Java bindings for approx_percentile #9094
Conversation
…e their usage when calling the groupby object.
… in python bindings.
…pe-dispatch on the plain tdigest aggregation.
Signed-off-by: Andy Grove <andygrove@nvidia.com>
…zes (still need to add code to ignore them during cluster building). Use groupby group_labels to avoid use of lower_bound() during reduction of values.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall it is looking good. I just am commenting on the java code though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
* a t-digest aggregation. | ||
* | ||
* @param percentiles Required percentiles [0,1] | ||
* @return the percentiles as doubles, in the same order passed in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Is the output type a list of doubles or what?
* a t-digest aggregation. | ||
* | ||
* @param percentiles Column containing percentiles [0,1] | ||
* @return the percentiles as doubles, in the same order passed in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: what is the output type?
…roupby in lieu of lower_bound checks during merge aggregation. Proper handling of null input values for regular tdigest aggregation.
…digests. Return null lists when calling percentile_approx on empty tdigests.
…check that I accidentally deleted.
…some internal constants and functions together; removed the ability to specify an output type from percentile_approx.
… tdigest aggregations. Change 'delta' to 'max_centroids' in externally facing interfaces to tdigest aggregations.
Codecov Report
@@ Coverage Diff @@
## branch-21.10 #9094 +/- ##
================================================
- Coverage 10.85% 10.80% -0.06%
================================================
Files 115 116 +1
Lines 19158 19321 +163
================================================
+ Hits 2080 2087 +7
- Misses 17078 17234 +156
Continue to review full report at Codecov.
|
@gpucibot merge |
This PR builds on #8983 and adds Java bindings.