Larry White created ARROW-17480:
-----------------------------------
Summary: [Java] add setNull() to ValueVector 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
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)