Svar: Svar: WindowOperator TestHarness

2021-12-17 Thread Pierre Bedoucha
: Timo Walther Dato: fredag, 17. desember 2021 kl. 14:20 Til: user@flink.apache.org Emne: Re: Svar: WindowOperator TestHarness Hi Pierre, sorry, for the late reply. The `getTransformation` might only be available in the Java DataStream API. The Scala `DataStream` object is only a think wrapper

Re: Svar: WindowOperator TestHarness

2021-12-17 Thread Timo Walther
Hi Pierre, sorry, for the late reply. The `getTransformation` might only be available in the Java DataStream API. The Scala `DataStream` object is only a think wrapper around the Java one. You can access the origin via: dataStream.javaStream.getTransformation() I hope this helps. Regards,

Svar: WindowOperator TestHarness

2021-12-16 Thread Pierre Bedoucha
Hi Timo, And thank you for the detailed answer. We chose to go for the second alternative using the following: import org.apache.flink.streaming.api.transformations.OneInputTransformation import org.apache.flink.streaming.api.windowing.assigners.SlidingEventTimeWindows val env = StreamExecutionE