You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "marc abboud (Jira)" <ji...@apache.org> on 2019/12/10 09:39:00 UTC

[jira] [Created] (ARROW-7363) flatten() doesn't work on ChunkedArray

marc abboud created ARROW-7363:
----------------------------------

             Summary: flatten() doesn't work on ChunkedArray
                 Key: ARROW-7363
                 URL: https://issues.apache.org/jira/browse/ARROW-7363
             Project: Apache Arrow
          Issue Type: Bug
    Affects Versions: 0.15.1
            Reporter: marc abboud


Flatten() doesn't work on ChunkedArray. It returns only the ChunkedArray in a list without flattening anything.
{code:java}
// code placeholder
aa = pa.array([[1],[2]])
bb = pa.chunked_array([aa,aa])
 
bb.flatten()

Out[15]:
[<pyarrow.lib.ChunkedArray object> [ [ [ 1 ], [ 2 ] ], [ [ 1 ], [ 2 ] ] ]]

Expected:
[ <pyarrow.lib.Array object> [ 1, 2 ], <pyarrow.lib.Array object> [ 1, 2 ] ]
{code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)