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

Deprecate "new Table(TableEnvironment, String)"

    XMLWordPrintableJSON

    Details

    • Release Note:
      Hide
      Flink 1.8 deprecates direct usage of the constructor of the `Table` class in the Table API. This constructor would previously be used to perform a join with a _lateral table_. You should now use `table.joinLateral()` or `table.leftOuterJoinLateral()` instead.

      This change is necessary for converting the Table class into an interface, which will make the API more maintainable and cleaner in the future.

      Show
      Flink 1.8 deprecates direct usage of the constructor of the `Table` class in the Table API. This constructor would previously be used to perform a join with a _lateral table_. You should now use `table.joinLateral()` or `table.leftOuterJoinLateral()` instead. This change is necessary for converting the Table class into an interface, which will make the API more maintainable and cleaner in the future.

      Description

      A more detailed description can be found in FLIP-32.

      Once table is an interface we can easily replace the underlying implementation at any time. The constructor call prevents us from converting it into an interface.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dian.fu Dian Fu
                Reporter:
                twalthr Timo Walther
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m