RocMarshal commented on a change in pull request #11979:
URL: https://github.com/apache/flink/pull/11979#discussion_r422008563



##########
File path: docs/training/event_driven.zh.md
##########
@@ -61,11 +60,10 @@ DataStream<Tuple3<Long, Long, Float>> hourlyTips = fares
         .process(new PseudoWindow(Time.hours(1)));
 {% endhighlight %}
 
-In this code snippet a `KeyedProcessFunction` called `PseudoWindow` is being 
applied to a keyed
-stream, the result of which is a `DataStream<Tuple3<Long, Long, Float>>` (the 
same kind of stream
-produced by the implementation that uses Flink's built-in time windows).
+在这个代码片段中,一个名为 `PseudoWindow` 的 `KeyedProcessFunction` 被应用于 KeyedStream ,
+其结果是一个 `DataStream<Tuple3<Long, Long, Float>>` (与使用 Flink 内置时间窗口的实现生成的流相同)。
 
-The overall outline of `PseudoWindow` has this shape:
+`PseudoWindow` 的总体轮廓示意如下:
 
 {% highlight java %}
 // Compute the sum of the tips for each driver in hour-long windows.

Review comment:
       @klion26 
   Hi , @klion26 
   I have followed up the translation of the comments and I'm looking forward 
to receiving your suggestions
   Thank you for your attention.
   
   Sincerely,
   Roc




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to