You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ian Cook (Jira)" <ji...@apache.org> on 2021/09/21 04:39:00 UTC
[jira] [Created] (ARROW-14052) [C++] Add appx_median,
hash_appx_median functions
Ian Cook created ARROW-14052:
--------------------------------
Summary: [C++] Add appx_median, hash_appx_median functions
Key: ARROW-14052
URL: https://issues.apache.org/jira/browse/ARROW-14052
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Reporter: Ian Cook
The Arrow C++ library has {{tdigest}} and {{hash_tdigest}} kernels that return arrays/lists. We call these from bindings with {{q = 0.5}} to find the approximate median, but the output is difficult to work with. It would be nice to create kernels wrapping these that would produce scalar output per array/group:
{{appx_median}} --> {{tdigest(q = 0.5)}}
{{hash_appx_median}} --> {{hash_tdigest(q = 0.5)}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)