Ji Liu created ARROW-7405:
-----------------------------

             Summary: [Java] ListVector isEmpty API is incorrect
                 Key: ARROW-7405
                 URL: https://issues.apache.org/jira/browse/ARROW-7405
             Project: Apache Arrow
          Issue Type: Bug
          Components: Java
            Reporter: Ji Liu
            Assignee: Ji Liu


 Currently {{isEmpty}} API is always return false in 
{{BaseRepeatedValueVector}}, and its subclass {{ListVector}} did not overwrite 
this method.

This will lead to incorrect result, for example, a {{ListVector}} with data 
[1,2], null, [], [5,6] should get [false, false, true, false] with this API, 
but now it would return [false, false, false, false].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to