Skip to content

Struct equality on slices has false negatives #514

@bjchambers

Description

@bjchambers

Describe the bug

A struct array that is sliced to a subset is not equal to a struct array created from just that subset of data. Stepping through the debugger I think it is because some of the null/value comparisons drop the offset and end up comparing the wrong part of the array.

To Reproduce

Failing test case here:
bjchambers@ccc8a4c

Expected behavior
Struct array slices compare equal to equivalent struct arrays.

Or, the printing of the struct arrays shows how they differ.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions