Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-14438

Fix RowTypeInfo.equals()

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              twalthr Timo Walther
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: