Skip to content

Commit 755f8d8

Browse files
committed
add row pattern recognition to tablemodel
1 parent f0ee8d3 commit 755f8d8

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

src/UserGuide/Master/Table/SQL-Manual/Row-Pattern-Recognition.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ PATTERN ( row_pattern )
112112
* When the value of the PATTERN clause is `A$`, the match must end at the end of the partition, and this row must satisfy the definition of `A`.
113113
* When the value of the PATTERN clause is `$A` or `$A$`, the output result is empty.
114114

115-
For example illustrations, see[Section 3.3.1](./Row-Pattern-Recognition.md#_3-1-Patter-Clause-Partition-Anchor)
115+
For example illustrations, see[Section 3.1](./Row-Pattern-Recognition.md#_3-1-Patter-Clause-Partition-Anchor)
116116

117117
#### 2.4.3 Quantifiers
118118

@@ -144,7 +144,7 @@ Used to specify which row to start the next pattern match from after identifying
144144

145145
* Among all possible configurations, only when `ALL ROWS PER MATCH WITH UNMATCHED ROWS` is used in combination with `AFTER MATCH SKIP PAST LAST ROW` can the system ensure that exactly one output record is generated for each input row.
146146

147-
For example illustrations, see [Section 3.3.2](./Row-Pattern-Recognition.md#_3-2-AFTER-MATCH-SKIP-Clause)
147+
For example illustrations, see [Section 3.2](./Row-Pattern-Recognition.md#_3-2-AFTER-MATCH-SKIP-Clause)
148148

149149
### 2.6 ROWS PER MATCH Clause
150150

@@ -208,7 +208,7 @@ orderstatus
208208
| Nested Functions | `PREV/NEXT(CLASSIFIER())` | Nesting of physical navigation functions and the CLASSIFIER function. Used to obtain the pattern variables corresponding to the previous and next matching rows of the current row. |
209209
| Nested Functions | `PREV/NEXT(RPR_FIRST/RPR_LAST(expr, k)`| **Logical functions are allowed to be nested** inside physical functions; **physical functions are not allowed to be nested** inside logical functions. Used to perform logical offset first, then physical offset. |
210210

211-
For example illustrations, see [Section 3.3.3](./Row-Pattern-Recognition.md#_3-3-Row-Pattern-Expressions-Extended-Functions)
211+
For example illustrations, see [Section 3.3](./Row-Pattern-Recognition.md#_3-3-Row-Pattern-Expressions-Extended-Functions)
212212

213213
#### 2.8.3 RUNNING and FINAL Semantics
214214

src/UserGuide/latest-Table/SQL-Manual/Row-Pattern-Recognition.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ PATTERN ( row_pattern )
112112
* When the value of the PATTERN clause is `A$`, the match must end at the end of the partition, and this row must satisfy the definition of `A`.
113113
* When the value of the PATTERN clause is `$A` or `$A$`, the output result is empty.
114114

115-
For example illustrations, see[Section 3.3.1](./Row-Pattern-Recognition.md#_3-1-Patter-Clause-Partition-Anchor)
115+
For example illustrations, see[Section 3.1](./Row-Pattern-Recognition.md#_3-1-Patter-Clause-Partition-Anchor)
116116

117117
#### 2.4.3 Quantifiers
118118

@@ -144,7 +144,7 @@ Used to specify which row to start the next pattern match from after identifying
144144

145145
* Among all possible configurations, only when `ALL ROWS PER MATCH WITH UNMATCHED ROWS` is used in combination with `AFTER MATCH SKIP PAST LAST ROW` can the system ensure that exactly one output record is generated for each input row.
146146

147-
For example illustrations, see [Section 3.3.2](./Row-Pattern-Recognition.md#_3-2-AFTER-MATCH-SKIP-Clause)
147+
For example illustrations, see [Section 3.2](./Row-Pattern-Recognition.md#_3-2-AFTER-MATCH-SKIP-Clause)
148148

149149
### 2.6 ROWS PER MATCH Clause
150150

@@ -208,7 +208,7 @@ orderstatus
208208
| Nested Functions | `PREV/NEXT(CLASSIFIER())` | Nesting of physical navigation functions and the CLASSIFIER function. Used to obtain the pattern variables corresponding to the previous and next matching rows of the current row. |
209209
| Nested Functions | `PREV/NEXT(RPR_FIRST/RPR_LAST(expr, k)`| **Logical functions are allowed to be nested** inside physical functions; **physical functions are not allowed to be nested** inside logical functions. Used to perform logical offset first, then physical offset. |
210210

211-
For example illustrations, see [Section 3.3.3](./Row-Pattern-Recognition.md#_3-3-Row-Pattern-Expressions-Extended-Functions)
211+
For example illustrations, see [Section 3.3](./Row-Pattern-Recognition.md#_3-3-Row-Pattern-Expressions-Extended-Functions)
212212

213213
#### 2.8.3 RUNNING and FINAL Semantics
214214

src/zh/UserGuide/Master/Table/SQL-Manual/Row-Pattern-Recognition.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ PATTERN ( row_pattern )
113113
* 当 PATTERN 子句的取值为 `A$` 时,要求必须在分区的结束位置匹配,并且这一行要满足 `A`的定义
114114
* 当 PATTERN 子句的取值为 `$A``$A$` 时,输出结果为空
115115

116-
示例介绍可见 [3.3.1 小节](./Row-Pattern-Recognition.md#_3-1-Patter 子句分区锚点)
116+
示例介绍可见 [3.1 小节](./Row-Pattern-Recognition.md#_3-1-Patter-子句分区锚点)
117117

118118
#### 2.4.3 量词(Quantifiers)
119119

@@ -145,7 +145,7 @@ PATTERN ( row_pattern )
145145

146146
* 在所有可能的配置中,仅当 `ALL ROWS PER MATCH WITH UNMATCHED ROWS``AFTER MATCH SKIP PAST LAST ROW` 联合使用时,系统才能确保对每个输入行恰好生成一条输出记录。
147147

148-
示例介绍可见 [3.3.2 小节](./Row-Pattern-Recognition.md#_3-2-AFTER MATCH SKIP 子句)
148+
示例介绍可见 [3.2 小节](./Row-Pattern-Recognition.md#_3-2-AFTER-MATCH-SKIP-子句)
149149

150150
### 2.6 ROWS PER MATCH 子句
151151

@@ -205,7 +205,7 @@ orderstatus
205205
| 嵌套函数 | `PREV/NEXT(CLASSIFIER())` | 物理导航函数与 CLASSIFIER 函数嵌套。用于获取当前行的前一个和后一个匹配行所对应的模式变量 |
206206
| 嵌套函数 |`PREV/NEXT(RPR_FIRST/RPR_LAST(expr, k)`| 物理函数内部**允许嵌套**逻辑函数,逻辑函数内部**不允许嵌套**物理函数。用于先进行逻辑偏移,再进行物理偏移。 |
207207

208-
示例介绍可见 [3.3.3 小节](./Row-Pattern-Recognition.md#_3-3-行模式表达式-扩展函数)
208+
示例介绍可见 [3.3 小节](./Row-Pattern-Recognition.md#_3-3-行模式表达式-扩展函数)
209209

210210
#### 2.8.3 RUNNING 和 FINAL 语义
211211
1. 定义

src/zh/UserGuide/latest-Table/SQL-Manual/Row-Pattern-Recognition.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ PATTERN ( row_pattern )
113113
* 当 PATTERN 子句的取值为 `A$` 时,要求必须在分区的结束位置匹配,并且这一行要满足 `A`的定义
114114
* 当 PATTERN 子句的取值为 `$A``$A$` 时,输出结果为空
115115

116-
示例介绍可见 [3.3.1 小节](./Row-Pattern-Recognition.md#_3-1-Patter 子句分区锚点)
116+
示例介绍可见 [3.1 小节](./Row-Pattern-Recognition.md#_3-1-Patter-子句分区锚点)
117117

118118
#### 2.4.3 量词(Quantifiers)
119119

@@ -145,7 +145,7 @@ PATTERN ( row_pattern )
145145

146146
* 在所有可能的配置中,仅当 `ALL ROWS PER MATCH WITH UNMATCHED ROWS``AFTER MATCH SKIP PAST LAST ROW` 联合使用时,系统才能确保对每个输入行恰好生成一条输出记录。
147147

148-
示例介绍可见 [3.3.2 小节](./Row-Pattern-Recognition.md#_3-2-AFTER MATCH SKIP 子句)
148+
示例介绍可见 [3.2 小节](./Row-Pattern-Recognition.md#_3-2-AFTER-MATCH-SKIP-子句)
149149

150150
### 2.6 ROWS PER MATCH 子句
151151

@@ -205,7 +205,7 @@ orderstatus
205205
| 嵌套函数 | `PREV/NEXT(CLASSIFIER())` | 物理导航函数与 CLASSIFIER 函数嵌套。用于获取当前行的前一个和后一个匹配行所对应的模式变量 |
206206
| 嵌套函数 |`PREV/NEXT(RPR_FIRST/RPR_LAST(expr, k)`| 物理函数内部**允许嵌套**逻辑函数,逻辑函数内部**不允许嵌套**物理函数。用于先进行逻辑偏移,再进行物理偏移。 |
207207

208-
示例介绍可见 [3.3.3 小节](./Row-Pattern-Recognition.md#_3-3-行模式表达式-扩展函数)
208+
示例介绍可见 [3.3 小节](./Row-Pattern-Recognition.md#_3-3-行模式表达式-扩展函数)
209209

210210
#### 2.8.3 RUNNING 和 FINAL 语义
211211
1. 定义

0 commit comments

Comments
 (0)