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

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

     [ https://issues.apache.org/jira/browse/ARROW-11232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joris Van den Bossche updated ARROW-11232:
------------------------------------------
    Component/s: C++

> [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
>          Components: C++
>    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)