You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Larry White (Jira)" <ji...@apache.org> on 2022/09/26 20:07:00 UTC

[jira] [Updated] (ARROW-17480) [Java] add setNull() to FieldVector interface

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

Larry White updated ARROW-17480:
--------------------------------
    Summary: [Java] add setNull() to FieldVector interface  (was: [Java] add setNull() to ValueVector interface)

> [Java] add setNull() to FieldVector interface
> ---------------------------------------------
>
>                 Key: ARROW-17480
>                 URL: https://issues.apache.org/jira/browse/ARROW-17480
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Java
>    Affects Versions: 9.0.0
>            Reporter: Larry White
>            Assignee: Larry White
>            Priority: Major
>              Labels: Java
>
> Only three ValueVector types do not implement setNull(): UnionVector, DenseUnionVector and NullVector, preventing it from being addable to the ValueVector interface and thus requiring a cast when used. 
> For NullVector, it could be added as a no-op. For the other two, it could be added by having it write a null to a child instead of setting a null in the parent. Note that this is similar to the implementation in UnionListWriter. 
> See also a similar issue opened for FieldWriter (ARROW-2538), which may be closable given the current code base. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)