You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Timo Walther (Jira)" <ji...@apache.org> on 2019/10/17 12:31:00 UTC

[jira] [Created] (FLINK-14438) Fix RowTypeInfo.equals()

Timo Walther created FLINK-14438:
------------------------------------

             Summary: Fix RowTypeInfo.equals()
                 Key: FLINK-14438
                 URL: https://issues.apache.org/jira/browse/FLINK-14438
             Project: Flink
          Issue Type: Improvement
          Components: API / Type Serialization System
            Reporter: Timo Walther


As discussed in FLINK-12848, the {{equals}} method of {{RowTypeInfo}} causes confusion because it does not consider field names which makes it difficult to use the type in data structures (such as hash maps) or testing.

So far {{RowTypeInfo}} is marked as  {{@PublicEvolving}}. However, it is not feasible to perform changes to {{RowTypeInfo.equals()}} in the current code base. The number of affected tests (>80) shows that this change is not trivial and would affect the stability of the legacy planner. However, most of the failing tests are in the legacy planner. It seems the Blink code has no problems with this change which is great! We suggest to apply the changes once we drop the legacy planner.





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