RocMarshal commented on a change in pull request #12798:
URL: https://github.com/apache/flink/pull/12798#discussion_r453730905



##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -558,43 +482,42 @@ For the following input rows:
  XYZ      2     11       2018-09-17 10:00:05
 {% endhighlight %}
 
-The query will produce the following output:
+该查询将生成以下输出:
 
 {% highlight text %}
  symbol   startPrice   topPrice   lastPrice
 ======== ============ ========== ===========
  XYZ      10           13         11
 {% endhighlight %}
 
-The pattern recognition is partitioned by the `symbol` column. Even though not 
explicitly mentioned
-in the `MEASURES` clause, the partitioned column is added at the beginning of 
the result.
+该模式识别由 `symbol` 列分区。即使在 `MEASURES` 子句中未明确提及,分区列仍会添加到结果的开头。
 
-Pattern Navigation
+<a name="pattern-navigation"></a>
+
+模式导航
 ------------------
 
-The `DEFINE` and `MEASURES` clauses allow for navigating within the list of 
rows that (potentially)
-match a pattern.
+`DEFINE` 和 `MEASURES` 子句允许在(可能)匹配模式的行列表中进行导航。
+
+本节讨论用于声明条件或产生输出结果的导航。
+
+<a name="pattern-variable-referencing"></a>
+
+### 引用模式变量
 
-This section discusses this navigation for declaring conditions or producing 
output results.
+_引用模式变量_ 允许引用一组映射到 `DEFINE` 或 `MEASURES` 子句中特定模式变量的行。
 
-### Pattern Variable Referencing
+如果 `DEFINE`/`MEASURES` 子句中的表达式需要一行(例如 `a.price` 或 `a.price > 
10`),它将选择属于相应集合的最后一个值。

Review comment:
       ```suggestion
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -558,43 +482,42 @@ For the following input rows:
  XYZ      2     11       2018-09-17 10:00:05
 {% endhighlight %}
 
-The query will produce the following output:
+该查询将生成以下输出:
 
 {% highlight text %}
  symbol   startPrice   topPrice   lastPrice
 ======== ============ ========== ===========
  XYZ      10           13         11
 {% endhighlight %}
 
-The pattern recognition is partitioned by the `symbol` column. Even though not 
explicitly mentioned
-in the `MEASURES` clause, the partitioned column is added at the beginning of 
the result.
+该模式识别由 `symbol` 列分区。即使在 `MEASURES` 子句中未明确提及,分区列仍会添加到结果的开头。
 
-Pattern Navigation
+<a name="pattern-navigation"></a>
+
+模式导航
 ------------------
 
-The `DEFINE` and `MEASURES` clauses allow for navigating within the list of 
rows that (potentially)
-match a pattern.
+`DEFINE` 和 `MEASURES` 子句允许在(可能)匹配模式的行列表中进行导航。
+
+本节讨论用于声明条件或产生输出结果的导航。
+
+<a name="pattern-variable-referencing"></a>
+
+### 引用模式变量
 
-This section discusses this navigation for declaring conditions or producing 
output results.
+_引用模式变量_ 允许引用一组映射到 `DEFINE` 或 `MEASURES` 子句中特定模式变量的行。
 

Review comment:
       ```suggestion
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -558,43 +482,42 @@ For the following input rows:
  XYZ      2     11       2018-09-17 10:00:05
 {% endhighlight %}
 
-The query will produce the following output:
+该查询将生成以下输出:
 
 {% highlight text %}
  symbol   startPrice   topPrice   lastPrice
 ======== ============ ========== ===========
  XYZ      10           13         11
 {% endhighlight %}
 
-The pattern recognition is partitioned by the `symbol` column. Even though not 
explicitly mentioned
-in the `MEASURES` clause, the partitioned column is added at the beginning of 
the result.
+该模式识别由 `symbol` 列分区。即使在 `MEASURES` 子句中未明确提及,分区列仍会添加到结果的开头。
 
-Pattern Navigation
+<a name="pattern-navigation"></a>
+
+模式导航
 ------------------
 
-The `DEFINE` and `MEASURES` clauses allow for navigating within the list of 
rows that (potentially)
-match a pattern.
+`DEFINE` 和 `MEASURES` 子句允许在(可能)匹配模式的行列表中进行导航。
+
+本节讨论用于声明条件或产生输出结果的导航。
+
+<a name="pattern-variable-referencing"></a>
+
+### 引用模式变量
 
-This section discusses this navigation for declaring conditions or producing 
output results.
+_引用模式变量_ 允许引用一组映射到 `DEFINE` 或 `MEASURES` 子句中特定模式变量的行。
 
-### Pattern Variable Referencing
+如果 `DEFINE`/`MEASURES` 子句中的表达式需要一行(例如 `a.price` 或 `a.price > 
10`),它将选择属于相应集合的最后一个值。
 
-A _pattern variable reference_ allows a set of rows mapped to a particular 
pattern variable in the
-`DEFINE` or `MEASURES` clauses to be referenced.
+例如,如果我们尝试将当前行与 `A` 进行匹配,则会描述当前行,表达式 `A.price` 描述了目前为止已映射到 `A` 的一组行。如果 
`DEFINE`/`MEASURES` 子句中的表达式需要单行(例如 `A.price` 或者 `A.price > 
10`),它将选择属于相应集合的最后一个值。

Review comment:
       ```suggestion
   例如,如果我们尝试将当前行与 `A` 进行匹配,则表达式 `A.price` 描述了目前为止已映射到 `A` 的一组行加上当前行。如果 
`DEFINE`/`MEASURES` 子句中的表达式需要一行(例如 `a.price` 或 `a.price > 10`),它将选择属于相应集合的最后一个值。
   ```




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to