[ 
https://issues.apache.org/jira/browse/FLINK-23536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ingo Bürk updated FLINK-23536:
------------------------------
    Component/s: API / Core

> Documentation of DeserializationSchema#deserialize is incorrect
> ---------------------------------------------------------------
>
>                 Key: FLINK-23536
>                 URL: https://issues.apache.org/jira/browse/FLINK-23536
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Core, Documentation
>    Affects Versions: 1.14.0
>            Reporter: Ingo Bürk
>            Priority: Minor
>
> The documentation of DeserializationSchema#deserialize states:
> {quote}@return The deserialized message as an object (null if the message 
> cannot be deserialized).
> {quote}
> However, some, if not most, implementations seem to actually throw an 
> exception instead. We should clarify whether implementors can / should throw 
> or return null "by default", and either way update the documentation.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to