StreamTableEnvironment 是否能够 运行 针对批处理流?

Is StreamTableEnvironment able to run against batch stream?

我正在 https://ci.apache.org/projects/flink/flink-docs-release-1.13/docs/dev/table/data_stream_api/

读书

它说:

Currently, the StreamTableEnvironment does not support enabling the batch execution mode yet. Nevertheless, bounded streams can be processed there using the streaming execution mode but with lower efficiency.

这是否意味着 StreamTableEnvironment 可以使用批处理流但效率较低,因为 StreamTableEnvironment 无法配置为 运行 批处理模式?

每个流处理器还可以处理在某个点结束的流。

但是,批处理模式使处理更加智能。例如,第一个运算符消耗之前的所有数据,第二个运算符将在第一个运算符完成后开始。运行时不会为每个传入行生成逐行结果,而是在最后一个运算符完成后发出一批行。

因此有界流处理是可能的,在 Flink 1.14 中,您不会看到更新,而只会看到启用批处理模式后从运行时发出的最终结果。

如需进一步了解,另请参阅:

https://cwiki.apache.org/confluence/plugins/servlet/mobile?contentId=158873744#content/view/158871522