[
https://issues.apache.org/jira/browse/ARROW-2538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17659564#comment-17659564
]
Rok Mihevc commented on ARROW-2538:
-----------------------------------
This issue has been migrated to [issue
#18860|https://github.com/apache/arrow/issues/18860] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [Java] Introduce BaseWriter.writeNull method
> --------------------------------------------
>
> Key: ARROW-2538
> URL: https://issues.apache.org/jira/browse/ARROW-2538
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Java
> Reporter: Teddy Choi
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h
> Remaining Estimate: 0h
>
> When a data set has null values in complex data type, it's hard to call
> proper writeNull method. Because writeNull is declared in
> AbstractFieldWriter, which is package local, not public. Moreover,
> UnionListWriter has no implementation of writeNull method, so it falls into
> AbstractFieldWriter.writeNull, which throws an IllegalArgumentException by
> default. So BaseWriter.writeNull is required to write null values inside of
> complex data types.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)