Ingo Bürk created FLINK-23536: --------------------------------- Summary: Documentation of DeserializationSchema#deserialize is incorrect Key: FLINK-23536 URL: https://issues.apache.org/jira/browse/FLINK-23536 Project: Flink Issue Type: Bug Components: Documentation Affects Versions: 1.14.0 Reporter: Ingo Bürk
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)