[
https://issues.apache.org/jira/browse/BEAM-6366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17547598#comment-17547598
]
Kenneth Knowles commented on BEAM-6366:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/19335
> NullableCoder could be more space efficient
> -------------------------------------------
>
> Key: BEAM-6366
> URL: https://issues.apache.org/jira/browse/BEAM-6366
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Julien Tournay
> Priority: P3
> Labels: Clarified
>
> NullableCoder uses one byte to encode the presence or absence of data when a
> single bit should be enough. (see javadoc
> https://beam.apache.org/releases/javadoc/2.9.0/org/apache/beam/sdk/coders/NullableCoder.html
> and source:
> https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/coders/NullableCoder.java#L49-L50).
--
This message was sent by Atlassian Jira
(v8.20.7#820007)