Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We want to deprecate and eventually remove relational methods from the DataStream API because we think they belong in the Table API going forward.

Compatibility, Deprecation, and Migration Plan

Existing users of the DataStream API will not be affected because we propose to keep STREAMING as the default for the new execution.runtime-mode setting. Users of the DataSet API should consider eventually moving their applications to the DataStream API with the new BATCH execution mode.

Test Plan

The new code should of course be tested by unti tests and integration tests as well as end-to-end tests. The most important acceptance test is whether we can execute a bounded DataStream program with multiple stages (keyBy()) on a single TaskManager with a single task slot. This is semething that is not possible in STREAMING mode because all tasks/operations need to be online at the same time but is something that will be possible in BATCH execution mode.

Rejected Alternatives

We did not come up with good alternatives to this if we assume that we want to go forward with removing the DataSet API.