GitHub user chermenin opened a pull request:
https://github.com/apache/flink/pull/2723
[FLINK-3617] Simple fix for OptionSerializer.
This fix prevent possible NullPointerException at serialization process,
but after deserialization Option variable will be initialized with None value
and not null (as was before serialization). This decision was made for
compatibility between versions. What thoughts about it?
This PR solve
[FLINK-3617](https://issues.apache.org/jira/browse/FLINK-3617).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chermenin/flink flink-3617
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2723.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2723
----
commit b742af340dbba4c927471d7f09e8d0b486dc6637
Author: Aleksandr Chermenin <[email protected]>
Date: 2016-10-28T13:52:26Z
[FLINK-3617] Simple fix for OptionSerializer.
This fix prevent possible NullPointerException at serialization process,
but after deserialization Option variable will be initialized with None
value and not null (as was before serialization).
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---