This is discovered in https://github.com/apache/arrow/pull/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:
(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).