libenchao commented on a change in pull request #10822:
[FLINK-15081][docs-zh]Translate "Concepts & Common API" page of Table…
URL: https://github.com/apache/flink/pull/10822#discussion_r382640348
##########
File path: docs/dev/table/common.zh.md
##########
@@ -503,18 +482,18 @@
tableEnv.createTemporaryView("other_catalog.other_database.exampleView", table)
</div>
-Query a Table
+查询表
-------------
### Table API
-The Table API is a language-integrated query API for Scala and Java. In
contrast to SQL, queries are not specified as Strings but are composed
step-by-step in the host language.
+Table API 是关于 Scala 和 Java 的集成语言式查询 API。与 SQL 相反,Table API
的查询不是由字符串指定,而是在宿主语言中逐步构成。
-The API is based on the `Table` class which represents a table (streaming or
batch) and offers methods to apply relational operations. These methods return
a new `Table` object, which represents the result of applying the relational
operation on the input `Table`. Some relational operations are composed of
multiple method calls such as `table.groupBy(...).select()`, where
`groupBy(...)` specifies a grouping of `table`, and `select(...)` the
projection on the grouping of `table`.
+Table API 是基于 `Table` 类的,该类类代表表(流或批处理),并提供使用关系操作的方法。这些方法返回一个新的 Table
对象,该对象表示对输入 Table 进行关系操作的结果。 一些关系操作由多个方法调用组成,例如
`table.groupBy(...).select()`,其中 `groupBy(...)` 指定 `table` 的分组,而 `select(...)`
在 `table` 分组上的投影。
Review comment:
该类类代表表 -> 该类表示一个表
----------------------------------------------------------------
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