yljee commented on a change in pull request #16316:
URL: https://github.com/apache/flink/pull/16316#discussion_r671948261



##########
File path: docs/content.zh/docs/dev/table/tableApi.md
##########
@@ -728,16 +730,16 @@ result = 
orders.over_window(Over.partition_by(orders.a).order_by(orders.rowtime)
 {{< /tab >}}
 {{< /tabs >}}
 
-All aggregates must be defined over the same window, i.e., same partitioning, 
sorting, and range. Currently, only windows with PRECEDING (UNBOUNDED and 
bounded) to CURRENT ROW range are supported. Ranges with FOLLOWING are not 
supported yet. ORDER BY must be specified on a single [time attribute]({{< ref 
"docs/dev/table/concepts/time_attributes" >}}).
+所有的聚合必须定义在同一个窗口上,比如同一个分区、排序和范围内。目前,只支持 PRECEDING 到当前行范围  (无界或有界)的窗口。目前还不支持 
FOLLOWING 范围的窗口。ORDER BY 必须指定一个单一的[时间属性]({{< ref 
"docs/dev/table/concepts/time_attributes" >}})。
 
 #### Distinct Aggregation
 
 {{< label "Batch" >}} {{< label "Streaming" >}}
 {{< label "Result Updating" >}}
 
-Similar to a SQL DISTINCT aggregation clause such as `COUNT(DISTINCT a)`.
-Distinct aggregation declares that an aggregation function (built-in or 
user-defined) is only applied on distinct input values.
-Distinct can be applied to **GroupBy Aggregation**, **GroupBy Window 
Aggregation** and **Over Window Aggregation**.
+和 SQL DISTINCT 聚合子句类似,例如 `COUNT(DISTINCT a)`。
+Distinct 聚合声明的聚合函数(内置或用户定义的)仅应用于不同的输入值。

Review comment:
       ```Distinct 聚合声明的聚合函数(内置或用户自定义)仅限应用于互不相同的输入值。```
   这样翻译是否更好一些?




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


Reply via email to