You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2021/09/24 13:02:00 UTC
[jira] [Resolved] (ARROW-14052) [C++] Add appx_median,
hash_appx_median functions
[ https://issues.apache.org/jira/browse/ARROW-14052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Li resolved ARROW-14052.
------------------------------
Resolution: Fixed
Issue resolved by pull request 11204
[https://github.com/apache/arrow/pull/11204]
> [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
> Assignee: David Li
> Priority: Critical
> Labels: kernel, pull-request-available
> Fix For: 6.0.0
>
> Time Spent: 2h
> Remaining Estimate: 0h
>
> 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)