You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2020/12/14 17:43:00 UTC
[jira] [Updated] (ARROW-10852) [C++]
AssertTablesEqual(verbose=true) segfaults if the left array has more rows
[ https://issues.apache.org/jira/browse/ARROW-10852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Kietzman updated ARROW-10852:
---------------------------------
Summary: [C++] AssertTablesEqual(verbose=true) segfaults if the left array has more rows (was: [C++] AssertTablesEqual(verbose=true) segfaults if the left array is longer)
> [C++] AssertTablesEqual(verbose=true) segfaults if the left array has more rows
> -------------------------------------------------------------------------------
>
> Key: ARROW-10852
> URL: https://issues.apache.org/jira/browse/ARROW-10852
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Affects Versions: 2.0.0
> Reporter: Ben Kietzman
> Assignee: Weston Pace
> Priority: Major
> Fix For: 3.0.0
>
>
> {{MultipleChunkIterator}} is used to implement the verbose comparison in AssertTablesEqual and seems to assume that the arrays have identical length. If the left chunkedarray is longer, this will result in segfaulting when trying to read nonexistent chunks of the right chunkedarray.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)