You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Bryan Cutler (Jira)" <ji...@apache.org> on 2020/02/06 00:32:00 UTC

[jira] [Resolved] (ARROW-7405) [Java] ListVector isEmpty API is incorrect

     [ https://issues.apache.org/jira/browse/ARROW-7405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Cutler resolved ARROW-7405.
---------------------------------
    Resolution: Fixed

Resolved from https://github.com/apache/arrow/pull/6044

> [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
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.0.0
>
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
>  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)