YngwieWang commented on a change in pull request #9299: [FLINK-13405][docs-zh] 
Translate "Basic API Concepts" page into Chinese
URL: https://github.com/apache/flink/pull/9299#discussion_r317595057
 
 

 ##########
 File path: docs/dev/api_concepts.zh.md
 ##########
 @@ -605,46 +523,35 @@ data.map (new RichMapFunction[String, Int] {
 
 </div>
 
-Rich functions provide, in addition to the user-defined function (map,
-reduce, etc), four methods: `open`, `close`, `getRuntimeContext`, and
-`setRuntimeContext`. These are useful for parameterizing the function
-(see [Passing Parameters to Functions]({{ site.baseurl 
}}/dev/batch/index.html#passing-parameters-to-functions)),
-creating and finalizing local state, accessing broadcast variables (see
-[Broadcast Variables]({{ site.baseurl 
}}/dev/batch/index.html#broadcast-variables)), and for accessing runtime
-information such as accumulators and counters (see
-[Accumulators and Counters](#accumulators--counters)), and information
-on iterations (see [Iterations]({{ site.baseurl }}/dev/batch/iterations.html)).
+富函数为用户定义函数(map、reduce 等)额外提供了 4 个方法: `open`、`close`、`getRuntimeContext` 和 
`setRuntimeContext`。这些方法有助于向函数传参(请参阅 [向函数传递参数]({{ site.baseurl 
}}/zh/dev/batch/index.html#passing-parameters-to-functions))、
+创建和终止本地状态、访问广播变量(请参阅
+[广播变量]({{ site.baseurl 
}}/zh/dev/batch/index.html#broadcast-variables))、访问诸如累加器和计数器等运行时信息(请参阅
+[累加器和计数器](#accumulators--counters))和迭代信息(请参阅 [迭代]({{ site.baseurl 
}}/zh/dev/batch/iterations.html))。
 
 {% top %}
 
-Supported Data Types
+支持的数据类型
 --------------------
 
-Flink places some restrictions on the type of elements that can be in a 
DataSet or DataStream.
-The reason for this is that the system analyzes the types to determine
-efficient execution strategies.
+Flink 对于 DataSet 或 DataStream 中可以包含的元素类型做了一些限制。这么做是为了使系统能够分析类型以确定有效的执行策略。
 
-There are six different categories of data types:
+有六种不同的数据类型:
 
 Review comment:
   是,我先提个修改英文文档的pr吧。

----------------------------------------------------------------
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

Reply via email to