Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/1134#discussion_r39633196
--- Diff:
flink-java/src/main/java/org/apache/flink/api/java/typeutils/PojoField.java ---
@@ -68,4 +72,24 @@ private void readObject(ObjectInputStream in)
public String toString() {
return "PojoField " + field.getDeclaringClass() + "." +
field.getName() + " (" + type + ")";
}
+
+ @Override
+ public boolean equals(Object obj) {
+ if (obj instanceof PojoField) {
--- End diff --
You're right. Will refactor the public access to the fields and include the
field in the `equals` and `hashCode` calculation.
---
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.
---