[jira] [Created] (FLINK-9198) Improve error messages in AbstractDeserializationSchema for type extraction

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-9198) Improve error messages in AbstractDeserializationSchema for type extraction

Shang Yuanchun (Jira)
Stephan Ewen created FLINK-9198:
-----------------------------------

             Summary: Improve error messages in AbstractDeserializationSchema for type extraction
                 Key: FLINK-9198
                 URL: https://issues.apache.org/jira/browse/FLINK-9198
             Project: Flink
          Issue Type: Improvement
    Affects Versions: 1.4.2
            Reporter: Stephan Ewen
            Assignee: Stephan Ewen
             Fix For: 1.5.0


User feedback: When type extraction fails in the {{AbstractDeserializationSchema}}, the error message does not explain fully how to fix this.

I suggest to improve the error message and add some convenience constructors to directly pass TypeInformation when needed.

We can also simplify the class a bit, because TypeInformation needs no longer be dropped during serialization.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)