-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-13772: [R] Binding for median aggregation #11018
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
Conversation
|
|
ee8c6a2 to
c4db4f1
Compare
|
This is blocked until #11159 merges. |
9515eeb to
c44d54b
Compare
|
I will rebase this after #11204 merges. Until then, tests will fail. |
421abf6 to
a837785
Compare
|
I addressed all comments and rebased after the |
This is a trivially small fix to resolve a test failure on older versions of R following ARROW-13772 (#11018). Closes #11235 from ianmcook/ARROW-13772-fix Authored-by: Ian Cook <ianmcook@gmail.com> Signed-off-by: Ian Cook <ianmcook@gmail.com>
This adds a binding for `median()` in `dplyr::summarise()`. This also adds a binding for `quantile()` but only for a single probability per function call (`length(probs) == 1`). With both bindings, the results are approximate, calculated using the tdigest algorithm. The user is warned once per session that the results are approximate. Closes apache#11018 from thisisnic/ARROW-13772_median_hash Lead-authored-by: Ian Cook <ianmcook@gmail.com> Co-authored-by: Nic Crane <thisisnic@gmail.com> Signed-off-by: Ian Cook <ianmcook@gmail.com>
This is a trivially small fix to resolve a test failure on older versions of R following ARROW-13772 (apache#11018). Closes apache#11235 from ianmcook/ARROW-13772-fix Authored-by: Ian Cook <ianmcook@gmail.com> Signed-off-by: Ian Cook <ianmcook@gmail.com>
This adds a binding for
median()indplyr::summarise(). This also adds a binding forquantile()but only for a single probability per function call (length(probs) == 1). With both bindings, the results are approximate, calculated using the tdigest algorithm. The user is warned once per session that the results are approximate.