GitHub user tillrohrmann opened a pull request: https://github.com/apache/flink/pull/1134
[FLINK-2637] [api-breaking] [scala, types] Adds equals and hashCode method to TypeInformations and TypeSerializers Adds abstract `equals`, `hashCode`, `canEqual` and `toString` methods to `TypeInformation`. Adds missing implementations to subtypes. The `canEqual(Object obj)` method returns true iff the `obj` can be equaled with the called instance. Adds abstract `equals`, `hashCode` and `canEqual` methods to `TypeSerializer`. Makes `CompositeType` subtypes serializable by removing non-serializable fields which were only used for the comparator construction. The comparator construction is now realized within a builder object which keeps the intermediate state. Consequently, the PR #943 is now obsolete and can be closed. Refactors the `ObjectArrayTypeInfo` so that the type extraction logic now happens within the `TypeExtractor` and no longer in the `TypeInformation` subtype. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tillrohrmann/flink fixOptionTypeInfo Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/1134.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 #1134 ---- commit 35a18b3f5148ec3fdddc318ea4d5971427fffda3 Author: Till Rohrmann <trohrm...@apache.org> Date: 2015-09-07T23:12:09Z [FLINK-2637] [api-breaking] [scala, types] Adds equals and hashCode method to TypeInformations and TypeSerializers. Fixes ObjectArrayTypeInfo. Makes CompositeTypes serializable. Adds test for equality relation's symmetric property ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---