From 14e250e095b6c008a757dce85bcab9a103ca04a0 Mon Sep 17 00:00:00 2001 From: Leto_b Date: Wed, 27 May 2026 10:44:40 +0800 Subject: [PATCH] the unit of timeInterval param in m4 function is ms --- src/UserGuide/Master/Tree/SQL-Manual/Function-and-Expression.md | 2 +- src/UserGuide/V1.3.x/SQL-Manual/Function-and-Expression.md | 2 +- src/UserGuide/dev-1.3/SQL-Manual/Function-and-Expression.md | 2 +- src/UserGuide/latest/SQL-Manual/Function-and-Expression.md | 2 +- .../UserGuide/Master/Tree/SQL-Manual/Function-and-Expression.md | 2 +- src/zh/UserGuide/V1.3.x/SQL-Manual/Function-and-Expression.md | 2 +- src/zh/UserGuide/dev-1.3/SQL-Manual/Function-and-Expression.md | 2 +- src/zh/UserGuide/latest/SQL-Manual/Function-and-Expression.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/UserGuide/Master/Tree/SQL-Manual/Function-and-Expression.md b/src/UserGuide/Master/Tree/SQL-Manual/Function-and-Expression.md index 160bb069d..fd2d7efd1 100644 --- a/src/UserGuide/Master/Tree/SQL-Manual/Function-and-Expression.md +++ b/src/UserGuide/Master/Tree/SQL-Manual/Function-and-Expression.md @@ -2386,7 +2386,7 @@ M4 is used to sample the `first, last, bottom, top` points for each sliding wind **(2) Attributes for the time window:** -+ `timeInterval`: The time interval length of a window. Long data type. **Required**. ++ `timeInterval`: The time interval length of a window. Unit: millisecond (ms).Long data type. **Required**. + `slidingStep`: Slide a window by the time length. Long data type. Optional. If not set, default to the same as `timeInterval`. + `displayWindowBegin`: The starting position of the window (included). Long data type. Optional. If not set, default to Long.MIN_VALUE, meaning using the time of the first data point of the input time series as the starting position of the window. + `displayWindowEnd`: End time limit (excluded, essentially playing the same role as `WHERE time < displayWindowEnd`). Long data type. Optional. If not set, default to Long.MAX_VALUE, meaning there is no additional end time limit other than the end of the input time series itself. diff --git a/src/UserGuide/V1.3.x/SQL-Manual/Function-and-Expression.md b/src/UserGuide/V1.3.x/SQL-Manual/Function-and-Expression.md index d52c1161d..081ca505f 100644 --- a/src/UserGuide/V1.3.x/SQL-Manual/Function-and-Expression.md +++ b/src/UserGuide/V1.3.x/SQL-Manual/Function-and-Expression.md @@ -2574,7 +2574,7 @@ M4 is used to sample the `first, last, bottom, top` points for each sliding wind **(2) Attributes for the time window:** -+ `timeInterval`: The time interval length of a window. Long data type. **Required**. ++ `timeInterval`: The time interval length of a window. Unit: millisecond (ms). Long data type. **Required**. + `slidingStep`: Slide a window by the time length. Long data type. Optional. If not set, default to the same as `timeInterval`. + `displayWindowBegin`: The starting position of the window (included). Long data type. Optional. If not set, default to Long.MIN_VALUE, meaning using the time of the first data point of the input time series as the starting position of the window. + `displayWindowEnd`: End time limit (excluded, essentially playing the same role as `WHERE time < displayWindowEnd`). Long data type. Optional. If not set, default to Long.MAX_VALUE, meaning there is no additional end time limit other than the end of the input time series itself. diff --git a/src/UserGuide/dev-1.3/SQL-Manual/Function-and-Expression.md b/src/UserGuide/dev-1.3/SQL-Manual/Function-and-Expression.md index 27bb92371..31489468b 100644 --- a/src/UserGuide/dev-1.3/SQL-Manual/Function-and-Expression.md +++ b/src/UserGuide/dev-1.3/SQL-Manual/Function-and-Expression.md @@ -2573,7 +2573,7 @@ M4 is used to sample the `first, last, bottom, top` points for each sliding wind **(2) Attributes for the time window:** -+ `timeInterval`: The time interval length of a window. Long data type. **Required**. ++ `timeInterval`: The time interval length of a window. Unit: millisecond (ms).Long data type. **Required**. + `slidingStep`: Slide a window by the time length. Long data type. Optional. If not set, default to the same as `timeInterval`. + `displayWindowBegin`: The starting position of the window (included). Long data type. Optional. If not set, default to Long.MIN_VALUE, meaning using the time of the first data point of the input time series as the starting position of the window. + `displayWindowEnd`: End time limit (excluded, essentially playing the same role as `WHERE time < displayWindowEnd`). Long data type. Optional. If not set, default to Long.MAX_VALUE, meaning there is no additional end time limit other than the end of the input time series itself. diff --git a/src/UserGuide/latest/SQL-Manual/Function-and-Expression.md b/src/UserGuide/latest/SQL-Manual/Function-and-Expression.md index 160bb069d..fd2d7efd1 100644 --- a/src/UserGuide/latest/SQL-Manual/Function-and-Expression.md +++ b/src/UserGuide/latest/SQL-Manual/Function-and-Expression.md @@ -2386,7 +2386,7 @@ M4 is used to sample the `first, last, bottom, top` points for each sliding wind **(2) Attributes for the time window:** -+ `timeInterval`: The time interval length of a window. Long data type. **Required**. ++ `timeInterval`: The time interval length of a window. Unit: millisecond (ms).Long data type. **Required**. + `slidingStep`: Slide a window by the time length. Long data type. Optional. If not set, default to the same as `timeInterval`. + `displayWindowBegin`: The starting position of the window (included). Long data type. Optional. If not set, default to Long.MIN_VALUE, meaning using the time of the first data point of the input time series as the starting position of the window. + `displayWindowEnd`: End time limit (excluded, essentially playing the same role as `WHERE time < displayWindowEnd`). Long data type. Optional. If not set, default to Long.MAX_VALUE, meaning there is no additional end time limit other than the end of the input time series itself. diff --git a/src/zh/UserGuide/Master/Tree/SQL-Manual/Function-and-Expression.md b/src/zh/UserGuide/Master/Tree/SQL-Manual/Function-and-Expression.md index b21af4567..4bfa2c8f4 100644 --- a/src/zh/UserGuide/Master/Tree/SQL-Manual/Function-and-Expression.md +++ b/src/zh/UserGuide/Master/Tree/SQL-Manual/Function-and-Expression.md @@ -2578,7 +2578,7 @@ M4用于在窗口内采样第一个点(`first`)、最后一个点(`last` **(2) 滑动时间窗口(SlidingTimeWindowAccessStrategy)使用的属性参数:** -+ `timeInterval`: 一个窗口的时间长度。Long数据类型。必需的属性参数。 ++ `timeInterval`: 一个窗口的时间长度,单位毫秒。Long数据类型。必需的属性参数。 + `slidingStep`: 按照设定的时长来滑动窗口。Long数据类型。可选的属性参数;如果没有设置,默认取值和`timeInterval`一样。 + `displayWindowBegin`: 窗口滑动的起始时间戳位置(包含在内)。Long数据类型。可选的属性参数;如果没有设置,默认取值为Long.MIN_VALUE,意为使用输入的时间序列的第一个点的时间戳作为窗口滑动的起始时间戳位置。 + `displayWindowEnd`: 结束时间限制(不包含在内;本质上和`WHERE time < displayWindowEnd`起的效果是一样的)。Long数据类型。可选的属性参数;如果没有设置,默认取值为Long.MAX_VALUE,意为除了输入的时间序列自身数据读取完毕之外没有增加额外的结束时间过滤条件限制。 diff --git a/src/zh/UserGuide/V1.3.x/SQL-Manual/Function-and-Expression.md b/src/zh/UserGuide/V1.3.x/SQL-Manual/Function-and-Expression.md index f6985f56a..26d784bc2 100644 --- a/src/zh/UserGuide/V1.3.x/SQL-Manual/Function-and-Expression.md +++ b/src/zh/UserGuide/V1.3.x/SQL-Manual/Function-and-Expression.md @@ -2579,7 +2579,7 @@ M4用于在窗口内采样第一个点(`first`)、最后一个点(`last` **(2) 滑动时间窗口(SlidingTimeWindowAccessStrategy)使用的属性参数:** -+ `timeInterval`: 一个窗口的时间长度。Long数据类型。必需的属性参数。 ++ `timeInterval`: 一个窗口的时间长度,单位毫秒。Long数据类型。必需的属性参数。 + `slidingStep`: 按照设定的时长来滑动窗口。Long数据类型。可选的属性参数;如果没有设置,默认取值和`timeInterval`一样。 + `displayWindowBegin`: 窗口滑动的起始时间戳位置(包含在内)。Long数据类型。可选的属性参数;如果没有设置,默认取值为Long.MIN_VALUE,意为使用输入的时间序列的第一个点的时间戳作为窗口滑动的起始时间戳位置。 + `displayWindowEnd`: 结束时间限制(不包含在内;本质上和`WHERE time < displayWindowEnd`起的效果是一样的)。Long数据类型。可选的属性参数;如果没有设置,默认取值为Long.MAX_VALUE,意为除了输入的时间序列自身数据读取完毕之外没有增加额外的结束时间过滤条件限制。 diff --git a/src/zh/UserGuide/dev-1.3/SQL-Manual/Function-and-Expression.md b/src/zh/UserGuide/dev-1.3/SQL-Manual/Function-and-Expression.md index ce558c306..46d082881 100644 --- a/src/zh/UserGuide/dev-1.3/SQL-Manual/Function-and-Expression.md +++ b/src/zh/UserGuide/dev-1.3/SQL-Manual/Function-and-Expression.md @@ -2579,7 +2579,7 @@ M4用于在窗口内采样第一个点(`first`)、最后一个点(`last` **(2) 滑动时间窗口(SlidingTimeWindowAccessStrategy)使用的属性参数:** -+ `timeInterval`: 一个窗口的时间长度。Long数据类型。必需的属性参数。 ++ `timeInterval`: 一个窗口的时间长度,单位毫秒。Long数据类型。必需的属性参数。 + `slidingStep`: 按照设定的时长来滑动窗口。Long数据类型。可选的属性参数;如果没有设置,默认取值和`timeInterval`一样。 + `displayWindowBegin`: 窗口滑动的起始时间戳位置(包含在内)。Long数据类型。可选的属性参数;如果没有设置,默认取值为Long.MIN_VALUE,意为使用输入的时间序列的第一个点的时间戳作为窗口滑动的起始时间戳位置。 + `displayWindowEnd`: 结束时间限制(不包含在内;本质上和`WHERE time < displayWindowEnd`起的效果是一样的)。Long数据类型。可选的属性参数;如果没有设置,默认取值为Long.MAX_VALUE,意为除了输入的时间序列自身数据读取完毕之外没有增加额外的结束时间过滤条件限制。 diff --git a/src/zh/UserGuide/latest/SQL-Manual/Function-and-Expression.md b/src/zh/UserGuide/latest/SQL-Manual/Function-and-Expression.md index b21af4567..4bfa2c8f4 100644 --- a/src/zh/UserGuide/latest/SQL-Manual/Function-and-Expression.md +++ b/src/zh/UserGuide/latest/SQL-Manual/Function-and-Expression.md @@ -2578,7 +2578,7 @@ M4用于在窗口内采样第一个点(`first`)、最后一个点(`last` **(2) 滑动时间窗口(SlidingTimeWindowAccessStrategy)使用的属性参数:** -+ `timeInterval`: 一个窗口的时间长度。Long数据类型。必需的属性参数。 ++ `timeInterval`: 一个窗口的时间长度,单位毫秒。Long数据类型。必需的属性参数。 + `slidingStep`: 按照设定的时长来滑动窗口。Long数据类型。可选的属性参数;如果没有设置,默认取值和`timeInterval`一样。 + `displayWindowBegin`: 窗口滑动的起始时间戳位置(包含在内)。Long数据类型。可选的属性参数;如果没有设置,默认取值为Long.MIN_VALUE,意为使用输入的时间序列的第一个点的时间戳作为窗口滑动的起始时间戳位置。 + `displayWindowEnd`: 结束时间限制(不包含在内;本质上和`WHERE time < displayWindowEnd`起的效果是一样的)。Long数据类型。可选的属性参数;如果没有设置,默认取值为Long.MAX_VALUE,意为除了输入的时间序列自身数据读取完毕之外没有增加额外的结束时间过滤条件限制。