You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/05/10 17:06:00 UTC
[jira] [Resolved] (ARROW-12606) [C++] Quantile and Mode functions
failing on arrays with offset
[ https://issues.apache.org/jira/browse/ARROW-12606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou resolved ARROW-12606.
------------------------------------
Fix Version/s: 5.0.0
Resolution: Fixed
Issue resolved by pull request 10262
[https://github.com/apache/arrow/pull/10262]
> [C++] Quantile and Mode functions failing on arrays with offset
> ---------------------------------------------------------------
>
> Key: ARROW-12606
> URL: https://issues.apache.org/jira/browse/ARROW-12606
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, Python
> Affects Versions: 4.0.0
> Environment: macOS, ubuntu
> Reporter: A. Coady
> Assignee: Yibo Cai
> Priority: Major
> Labels: pull-request-available
> Fix For: 5.0.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Sounds unrelated, but it's the simplest example I've gotten to reproduce.
>
> {code:java}
> import pyarrow as pa, pyarrow.compute as pc
> array = pa.array([[0], [1]])
> first, second = [pc.quantile(scalar.values) for scalar in array]
> assert first.to_pylist() == [0]
> assert (second.to_pylist() == [1]), second # 7.20576e+16{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)