You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "A. Coady (Jira)" <ji...@apache.org> on 2021/04/30 00:57:00 UTC

[jira] [Created] (ARROW-12606) Quantile function failing on list scalars.

A. Coady created ARROW-12606:
--------------------------------

             Summary: Quantile function failing on list scalars.
                 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


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)