Mrzyxing commented on code in PR #20510: URL: https://github.com/apache/flink/pull/20510#discussion_r947419000
########## docs/content.zh/docs/try-flink/table_api.md: ########## @@ -163,44 +161,41 @@ tEnv.executeSql("CREATE TABLE spend_report (\n" + ")"); ``` -The second table, `spend_report`, stores the final results of the aggregation. -Its underlying storage is a table in a MySql database. +第二张 `spend_report` 表存储聚合后的最终结果,底层存储是 MySQL 数据库中的一张表。 -#### The Query +#### 查询数据 -With the environment configured and tables registered, you are ready to build your first application. -From the `TableEnvironment` you can read `from` an input table to read its rows and then write those results into an output table using `executeInsert`. -The `report` function is where you will implement your business logic. -It is currently unimplemented. +配置好环境并注册好表后,你就可以开始开发你的第一个应用了。 +通过 `TableEnvironment` ,你可以 `from` 输入表读取数据,然后将结果调用 `executeInsert` 写入到输出表。 Review Comment: I think `from` is the function of instance `TableEnvironment`,and must be translate. Maybe my translate is too freely to make you confused, maybe ' 通过`TableEnvironment`实例 ,你可以使用函数`from`从输入表读取数据,然后将结果调用 `executeInsert` 写入到输出表。' more clearer? (but added some extra info) Or what is your thought? -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org