You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Zhuo Peng (Jira)" <ji...@apache.org> on 2021/01/13 01:39:00 UTC

[jira] [Created] (ARROW-11232) Table::CombineChunks() returns incorrect results if Table has no column

Zhuo Peng created ARROW-11232:
---------------------------------

             Summary: Table::CombineChunks() returns incorrect results if Table has no column
                 Key: ARROW-11232
                 URL: https://issues.apache.org/jira/browse/ARROW-11232
             Project: Apache Arrow
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Zhuo Peng
            Assignee: Zhuo Peng


>>> pa.table([[1]], ["a"])
pyarrow.Table
a: int64
>>> t = pa.table([[1]], ["a"])
>>> t.num_rows
1
>>> t1 = t.drop(["a"])
>>> t1.num_rows
1
>>> t2 = t1.combine_chunks()
>>> t2.num_rows
0



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