Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Equality comparison for ListArray accounts for offsets incorrectly, so slices of ListArrays with identical offsets but differing values will sometimes compare equal.
For example, the following test fails:
TEST_F(TestListArray, ValuesEquality) { auto type = list(int32()); auto left = ArrayFromJSON(type, "[[1, 2], [3, null], [5], []]"); auto right = ArrayFromJSON(type, "[[1, 2], [3, null], [9], []]"); AssertArraysEqual(*left->Slice(2), *right->Slice(2)); }
Attachments
Issue Links
- is superceded by
-
ARROW-1280 [C++] Implement Fixed Size List type
- Resolved