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_r310366541
##########
File path: docs/getting-started/walkthroughs/table_api.zh.md
##########
@@ -250,14 +255,13 @@ env.execute("Spend Report")
</div>
</div>
-## Attempt One
-
-Now with the skeleton of a Job set-up, you are ready to add some business
logic.
-The goal is to build a report that shows the total spend for each account
across each hour of the day.
-Just like a SQL query, Flink can select the required fields and group by your
keys.
-Because the timestamp field has millisecond granularity, you can use the UDF
to round it down to the nearest hour.
-Finally, select all the fields, summing the total spend per account-hour pair
with the built-in `sum` [aggregate function]({{ site.baseurl
}}/dev/table/functions.html#aggregate-functions).
+## 尝试一下
+随着作业的骨架部分建立完毕,你可以给它加一些业务逻辑。
+这个程序的目标是建立一个报表来显示每天每小时每个账号的总支出。
+就像一个SQL查询一样,Flink可以选取所需的字段然后根据你的键来进行分组。
Review comment:
```suggestion
就像一个 SQL 查询一样,Flink 可以选取所需的字段并且按键分组。
```
----------------------------------------------------------------
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