RocMarshal commented on a change in pull request #12798: URL: https://github.com/apache/flink/pull/12798#discussion_r453730088
########## 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 ``` ---------------------------------------------------------------- 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