Skip to content

[Java] Integration test breaks without zeroing out validity vectors #15621

@asfimport

Description

@asfimport

This is discovered in #1290

I found one the integration test (nested) failed without zeroing out validity vectors before loading the array from json.

I have created three files to reproduce this:
(1) nested.json
(2) nested.good (zeroing out validity vector before reading)
(3) nested.bad (not zeroing out validity vector before reading)

(1) / (2) and (1) / (3) both pass Java integration test, however (1) / (3) fails C++ test - one of the validity vector in (3) doesn't seem to be read correctly.

I am not sure what the issue is because I cannot reproduce an error in Java. I am hoping maybe some one more familiar with C++ could take a look and give some insights what's the wrong with (3).

Reporter: Li Jin / @icexelloss

Original Issue Attachments:

Note: This issue was originally created as ARROW-1779. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions