You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (Jira)" <ji...@apache.org> on 2020/12/11 15:55:00 UTC
[jira] [Commented] (FLINK-20580) Missing null value handling for
SerializedValue's getByteArray()
[ https://issues.apache.org/jira/browse/FLINK-20580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17247991#comment-17247991 ]
Till Rohrmann commented on FLINK-20580:
---------------------------------------
The problematic code locations are {{BlobWriter}} and {{SerializedValueSerializer}}.
> Missing null value handling for SerializedValue's getByteArray()
> -----------------------------------------------------------------
>
> Key: FLINK-20580
> URL: https://issues.apache.org/jira/browse/FLINK-20580
> Project: Flink
> Issue Type: Bug
> Components: API / Type Serialization System
> Affects Versions: 1.13.0
> Reporter: Matthias
> Priority: Minor
> Labels: starter
>
> {{SerializedValue}} allows to wrap {{null}} values. Because of this, {{SerializedValue.getByteArray()}} might return {{null}} which is not properly handled in different locations.
> We should add null handling in these cases and add tests for these cases.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)