YngwieWang commented on a change in pull request #9350: [FLINK-13485]
[chinese-translation] Translate "Table API Example Walkthrough" page into
Chinese
URL: https://github.com/apache/flink/pull/9350#discussion_r310368905
##########
File path: docs/getting-started/walkthroughs/table_api.zh.md
##########
@@ -329,16 +333,16 @@ tEnv
</div>
</div>
-This defines your application as using one hour tumbling windows based on the
timestamp column.
-So a row with timestamp `2019-06-01 01:23:47` is put in the `2019-06-01
01:00:00` window.
+你的应用将会根据时间戳字段生成一个按小时区分的滚动窗口。
+因此如果有一行的时间戳是 `2019-06-01 01:23:47` 将会被放入 `2019-06-01 01:00:00` 这个时间窗口之中。
-Aggregations based on time are unique because time, as opposed to other
attributes, generally moves forward in a continuous streaming application.
-In a batch context, windows offer a convenient API for grouping records by a
timestamp attribute.
+在持续的流式应用中,通过时间字段进行聚合是独一无二的,因为相对于其他字段,时间字段通常会不停得向前移动。
+在批环境中,通过时间戳属性,时间窗口为数据分组提供了一系列方便的API。
-Running the updated query will produce identical results as before.
+运行这个更新过的查询将会得到和之前一样的结果。
{% highlight raw %}
-# Query 2 output showing account id, timestamp, and amount
+# 查询二的输出,显示了账户id,时间戳,和消费总额
Review comment:
```suggestion
# 查询 2 的输出显示了账户 id、时间戳和消费总额
```
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services