[
https://issues.apache.org/jira/browse/ARROW-11232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joris Van den Bossche updated ARROW-11232:
------------------------------------------
Summary: [C++] Table::CombineChunks() returns incorrect results if Table
has no column (was: Table::CombineChunks() returns incorrect results if Table
has no column)
> [C++] 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
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> >>> 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)