Skip to content

Commit

Permalink
Modify sampling function link issue (#466)
Browse files Browse the repository at this point in the history
* Modify sampling function link issue

* Modify the master document link
  • Loading branch information
mal117 authored Dec 16, 2024
1 parent ff012e9 commit 07552e4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ For details and examples, see the document [Variation Trend Calculation Function
| EQUAL_SIZE_BUCKET_OUTLIER_SAMPLE | INT32 / INT64 / FLOAT / DOUBLE | The value range of `proportion` is `(0, 1]`, the default is `0.1`<br> The value of `type` is `avg` or `stendis` or `cos` or `prenextdis`, the default is `avg` <br>The value of `number` should be greater than 0, the default is `3` | INT32 / INT64 / FLOAT / DOUBLE | Returns outlier samples in equal buckets that match the sampling ratio and the number of samples in the bucket |
| M4 | INT32 / INT64 / FLOAT / DOUBLE | Different attributes used by the size window and the time window. The size window uses attributes `windowSize` and `slidingStep`. The time window uses attributes `timeInterval`, `slidingStep`, `displayWindowBegin`, and `displayWindowEnd`. More details see below. | INT32 / INT64 / FLOAT / DOUBLE | Returns the `first, last, bottom, top` points in each sliding window. M4 sorts and deduplicates the aggregated points within the window before outputting them. |

For details and examples, see the document [Sample Functions](../Reference/Function-and-Expression.md#sample-functions).
For details and examples, see the document [Sample Functions](../SQL-Manual/Function-and-Expression.md#sample-functions).

### Change Points Function

Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/latest/SQL-Manual/Operator-and-Expression.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ For details and examples, see the document [Variation Trend Calculation Function
| EQUAL_SIZE_BUCKET_OUTLIER_SAMPLE | INT32 / INT64 / FLOAT / DOUBLE | The value range of `proportion` is `(0, 1]`, the default is `0.1`<br> The value of `type` is `avg` or `stendis` or `cos` or `prenextdis`, the default is `avg` <br>The value of `number` should be greater than 0, the default is `3` | INT32 / INT64 / FLOAT / DOUBLE | Returns outlier samples in equal buckets that match the sampling ratio and the number of samples in the bucket |
| M4 | INT32 / INT64 / FLOAT / DOUBLE | Different attributes used by the size window and the time window. The size window uses attributes `windowSize` and `slidingStep`. The time window uses attributes `timeInterval`, `slidingStep`, `displayWindowBegin`, and `displayWindowEnd`. More details see below. | INT32 / INT64 / FLOAT / DOUBLE | Returns the `first, last, bottom, top` points in each sliding window. M4 sorts and deduplicates the aggregated points within the window before outputting them. |

For details and examples, see the document [Sample Functions](../Reference/Function-and-Expression.md#sample-functions).
For details and examples, see the document [Sample Functions](../SQL-Manual/Function-and-Expression.md#sample-functions).

### Change Points Function

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ OR, |, ||
| EQUAL_SIZE_BUCKET_OUTLIER_SAMPLE | INT32 / INT64 / FLOAT / DOUBLE | `proportion`取值范围为`(0, 1]`,默认为`0.1`<br>`type`取值为`avg``stendis``cos``prenextdis`,默认为`avg`<br>`number`取值应大于0,默认`3`| INT32 / INT64 / FLOAT / DOUBLE | 返回符合采样比例和桶内采样个数的等分桶离群值采样 |
| M4 | INT32 / INT64 / FLOAT / DOUBLE | 包含固定点数的窗口和滑动时间窗口使用不同的属性参数。包含固定点数的窗口使用属性`windowSize``slidingStep`。滑动时间窗口使用属性`timeInterval``slidingStep``displayWindowBegin``displayWindowEnd`。更多细节见下文。 | INT32 / INT64 / FLOAT / DOUBLE | 返回每个窗口内的第一个点(`first`)、最后一个点(`last`)、最小值点(`bottom`)、最大值点(`top`)。在一个窗口内的聚合点输出之前,M4会将它们按照时间戳递增排序并且去重。 |

详细说明及示例见文档 [采样函数](../Reference/Function-and-Expression.md#采样函数)
详细说明及示例见文档 [采样函数](./Function-and-Expression.md#采样函数)
### 时间序列处理函数

| 函数名 | 输入序列类型 | 参数 | 输出序列类型 | 功能描述 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ OR, |, ||
| EQUAL_SIZE_BUCKET_OUTLIER_SAMPLE | INT32 / INT64 / FLOAT / DOUBLE | `proportion`取值范围为`(0, 1]`,默认为`0.1`<br>`type`取值为`avg``stendis``cos``prenextdis`,默认为`avg`<br>`number`取值应大于0,默认`3`| INT32 / INT64 / FLOAT / DOUBLE | 返回符合采样比例和桶内采样个数的等分桶离群值采样 |
| M4 | INT32 / INT64 / FLOAT / DOUBLE | 包含固定点数的窗口和滑动时间窗口使用不同的属性参数。包含固定点数的窗口使用属性`windowSize``slidingStep`。滑动时间窗口使用属性`timeInterval``slidingStep``displayWindowBegin``displayWindowEnd`。更多细节见下文。 | INT32 / INT64 / FLOAT / DOUBLE | 返回每个窗口内的第一个点(`first`)、最后一个点(`last`)、最小值点(`bottom`)、最大值点(`top`)。在一个窗口内的聚合点输出之前,M4会将它们按照时间戳递增排序并且去重。 |

详细说明及示例见文档 [采样函数](../Reference/Function-and-Expression.md#采样函数)
详细说明及示例见文档 [采样函数](./Function-and-Expression.md#采样函数)
### 时间序列处理函数

| 函数名 | 输入序列类型 | 参数 | 输出序列类型 | 功能描述 |
Expand Down

0 comments on commit 07552e4

Please sign in to comment.