zentol commented on code in PR #25261:
URL: https://github.com/apache/flink/pull/25261#discussion_r1778601591
##########
docs/content.zh/docs/dev/datastream/operators/overview.md:
##########
@@ -198,19 +198,19 @@ data_stream.key_by(lambda x: x[1]).reduce(lambda a, b:
(a[0] + b[0], b[1]))
```java
dataStream
.keyBy(value -> value.f0)
- .window(TumblingEventTimeWindows.of(Time.seconds(5)));
+ .window(TumblingEventTimeWindows.of(Duration.ofSeconds(5)));
```
{{< /tab >}}
{{< tab "Scala">}}
```scala
dataStream
.keyBy(_._1)
- .window(TumblingEventTimeWindows.of(Time.seconds(5)))
Review Comment:
why are the docs still full of scale examples if the apis were removed?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]