Teddy Choi created ARROW-2538: --------------------------------- Summary: [Java] Introduce FieldWriter.writeNull method Key: ARROW-2538 URL: https://issues.apache.org/jira/browse/ARROW-2538 Project: Apache Arrow Issue Type: Improvement Components: Java - Vectors Reporter: Teddy Choi Assignee: Teddy Choi
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 FieldWriter.writeNull is required to write null values inside of complex data types. -- This message was sent by Atlassian JIRA (v7.6.3#76005)