[ 
https://issues.apache.org/jira/browse/FLINK-6799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17323647#comment-17323647
 ] 

Flink Jira Bot commented on FLINK-6799:
---------------------------------------

This issue is assigned but has not received an update in 7 days so it has been 
labeled "stale-assigned". If you are still working on the issue, please give an 
update and remove the label. If you are no longer working on the issue, please 
unassign so someone else may work on it. In 7 days the issue will be 
automatically unassigned.

> PojoSerializer does not check field types when being deserialized
> -----------------------------------------------------------------
>
>                 Key: FLINK-6799
>                 URL: https://issues.apache.org/jira/browse/FLINK-6799
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Type Serialization System
>    Affects Versions: 1.1.5, 1.2.1, 1.3.0, 1.4.0
>            Reporter: Till Rohrmann
>            Assignee: Tzu-Li (Gordon) Tai
>            Priority: Major
>              Labels: stale-assigned
>
> The {{PojoSerializer}} stores internally the fields of a pojo as {{Field}} 
> instances. These field instances are serialized via the {{FieldSerializer}}. 
> The {{FieldSerializer}} simply writes out the name of the field. When being 
> deserialized, the serializer reads the name and then looks up the field using 
> the dynamically loaded class. If the underlying class changes, e.g. type of 
> fields change, then this won't be noticed, because we don't check the field 
> types. In order to catch errors early and to give meaningful error messages, 
> I think we should add type checks for the reloaded fields.



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

Reply via email to