wuchong commented on a change in pull request #11961:
URL: https://github.com/apache/flink/pull/11961#discussion_r422443490
##########
File path: docs/dev/table/sqlClient.zh.md
##########
@@ -98,26 +97,28 @@ In *changelog mode*, the visualized changelog should be
similar to:
+ Bob, 2
{% endhighlight %}
-In *table mode*, the visualized result table is continuously updated until the
table program ends with:
+*表格模式* 下,可视化结果表将不断更新,直到表程序以如下内容结束:
{% highlight text %}
Bob, 2
Alice, 1
Greg, 1
{% endhighlight %}
-Both result modes can be useful during the prototyping of SQL queries. In both
modes, results are stored in the Java heap memory of the SQL Client. In order
to keep the CLI interface responsive, the changelog mode only shows the latest
1000 changes. The table mode allows for navigating through bigger results that
are only limited by the available main memory and the configured [maximum
number of rows](sqlClient.html#configuration) (`max-table-result-rows`).
+这两种结果模式在 SQL 查询的原型设计过程中都非常有用。这两种模式结果都存储在 SQL 客户端 的 Java 堆内存中。为了保持 CLI
界面及时响应,变更日志模式仅显示最近的 1000
个更改。表格模式支持浏览更大的结果,这些结果仅受可用主内存和配置的[最大行数](sqlClient.html#configuration)(`max-table-result-rows`)的限制。
-<span class="label label-danger">Attention</span> Queries that are executed in
a batch environment, can only be retrieved using the `table` result mode.
+<span class="label label-danger">注意</span> 在批处理环境下执行的查询只能用 `table` 结果模式进行检索。
-After a query is defined, it can be submitted to the cluster as a
long-running, detached Flink job. For this, a target system that stores the
results needs to be specified using the [INSERT INTO
statement](sqlClient.html#detached-sql-queries). The [configuration
section](sqlClient.html#configuration) explains how to declare table sources
for reading data, how to declare table sinks for writing data, and how to
configure other table program properties.
+定义查询之后,可以将其作为长时间运行的独立 Flink 作业提交给集群。为此,其目标系统需要使用 [INSERT INTO
语句](sqlClient.html#detached-sql-queries)指定存储结果。[配置部分](sqlClient.html#configuration)解释如何声明读取数据的
table source,写入数据的 sink 以及配置其他表程序属性的方法。
{% top %}
-Configuration
+<a name="configuration"></a>
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]