You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Li Jin (JIRA)" <ji...@apache.org> on 2017/11/08 00:02:00 UTC

[jira] [Created] (ARROW-1779) [Java] Integration test breaks without zeroing out validity vectors

Li Jin created ARROW-1779:
-----------------------------

             Summary: [Java] Integration test breaks without zeroing out validity vectors
                 Key: ARROW-1779
                 URL: https://issues.apache.org/jira/browse/ARROW-1779
             Project: Apache Arrow
          Issue Type: Sub-task
            Reporter: Li Jin
         Attachments: nested.bad, nested.good, nested.json

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:
(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). 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)