From 07552e4241c611a508141c1369ca69aa17be688d Mon Sep 17 00:00:00 2001
From: majialin <107627937+mal117@users.noreply.github.com>
Date: Mon, 16 Dec 2024 16:51:27 +0800
Subject: [PATCH] Modify sampling function link issue (#466)
* Modify sampling function link issue
* Modify the master document link
---
src/UserGuide/Master/Tree/SQL-Manual/Operator-and-Expression.md | 2 +-
src/UserGuide/latest/SQL-Manual/Operator-and-Expression.md | 2 +-
.../UserGuide/Master/Tree/SQL-Manual/Operator-and-Expression.md | 2 +-
src/zh/UserGuide/latest/SQL-Manual/Operator-and-Expression.md | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/UserGuide/Master/Tree/SQL-Manual/Operator-and-Expression.md b/src/UserGuide/Master/Tree/SQL-Manual/Operator-and-Expression.md
index 438cd243..ff2507a8 100644
--- a/src/UserGuide/Master/Tree/SQL-Manual/Operator-and-Expression.md
+++ b/src/UserGuide/Master/Tree/SQL-Manual/Operator-and-Expression.md
@@ -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`
The value of `type` is `avg` or `stendis` or `cos` or `prenextdis`, the default is `avg`
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
diff --git a/src/UserGuide/latest/SQL-Manual/Operator-and-Expression.md b/src/UserGuide/latest/SQL-Manual/Operator-and-Expression.md
index 438cd243..ff2507a8 100644
--- a/src/UserGuide/latest/SQL-Manual/Operator-and-Expression.md
+++ b/src/UserGuide/latest/SQL-Manual/Operator-and-Expression.md
@@ -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`
The value of `type` is `avg` or `stendis` or `cos` or `prenextdis`, the default is `avg`
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
diff --git a/src/zh/UserGuide/Master/Tree/SQL-Manual/Operator-and-Expression.md b/src/zh/UserGuide/Master/Tree/SQL-Manual/Operator-and-Expression.md
index 6afc120a..5304a35a 100644
--- a/src/zh/UserGuide/Master/Tree/SQL-Manual/Operator-and-Expression.md
+++ b/src/zh/UserGuide/Master/Tree/SQL-Manual/Operator-and-Expression.md
@@ -234,7 +234,7 @@ OR, |, ||
| EQUAL_SIZE_BUCKET_OUTLIER_SAMPLE | INT32 / INT64 / FLOAT / DOUBLE | `proportion`取值范围为`(0, 1]`,默认为`0.1`
`type`取值为`avg`或`stendis`或`cos`或`prenextdis`,默认为`avg`
`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#采样函数)。
### 时间序列处理函数
| 函数名 | 输入序列类型 | 参数 | 输出序列类型 | 功能描述 |
diff --git a/src/zh/UserGuide/latest/SQL-Manual/Operator-and-Expression.md b/src/zh/UserGuide/latest/SQL-Manual/Operator-and-Expression.md
index 6afc120a..5304a35a 100644
--- a/src/zh/UserGuide/latest/SQL-Manual/Operator-and-Expression.md
+++ b/src/zh/UserGuide/latest/SQL-Manual/Operator-and-Expression.md
@@ -234,7 +234,7 @@ OR, |, ||
| EQUAL_SIZE_BUCKET_OUTLIER_SAMPLE | INT32 / INT64 / FLOAT / DOUBLE | `proportion`取值范围为`(0, 1]`,默认为`0.1`
`type`取值为`avg`或`stendis`或`cos`或`prenextdis`,默认为`avg`
`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#采样函数)。
### 时间序列处理函数
| 函数名 | 输入序列类型 | 参数 | 输出序列类型 | 功能描述 |