You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/12/17 03:09:00 UTC
[jira] [Updated] (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 ]
ASF GitHub Bot updated ARROW-7405:
----------------------------------
Labels: pull-request-available (was: )
> [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
>
> 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)