Skip to content

Commit 14e250e

Browse files
committed
the unit of timeInterval param in m4 function is ms
1 parent 3f7891c commit 14e250e

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/UserGuide/Master/Tree/SQL-Manual/Function-and-Expression.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2386,7 +2386,7 @@ M4 is used to sample the `first, last, bottom, top` points for each sliding wind
23862386
23872387
**(2) Attributes for the time window:**
23882388
2389-
+ `timeInterval`: The time interval length of a window. Long data type. **Required**.
2389+
+ `timeInterval`: The time interval length of a window. Unit: millisecond (ms).Long data type. **Required**.
23902390
+ `slidingStep`: Slide a window by the time length. Long data type. Optional. If not set, default to the same as `timeInterval`.
23912391
+ `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.
23922392
+ `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.

src/UserGuide/V1.3.x/SQL-Manual/Function-and-Expression.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2574,7 +2574,7 @@ M4 is used to sample the `first, last, bottom, top` points for each sliding wind
25742574
25752575
**(2) Attributes for the time window:**
25762576
2577-
+ `timeInterval`: The time interval length of a window. Long data type. **Required**.
2577+
+ `timeInterval`: The time interval length of a window. Unit: millisecond (ms). Long data type. **Required**.
25782578
+ `slidingStep`: Slide a window by the time length. Long data type. Optional. If not set, default to the same as `timeInterval`.
25792579
+ `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.
25802580
+ `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.

src/UserGuide/dev-1.3/SQL-Manual/Function-and-Expression.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2573,7 +2573,7 @@ M4 is used to sample the `first, last, bottom, top` points for each sliding wind
25732573
25742574
**(2) Attributes for the time window:**
25752575
2576-
+ `timeInterval`: The time interval length of a window. Long data type. **Required**.
2576+
+ `timeInterval`: The time interval length of a window. Unit: millisecond (ms).Long data type. **Required**.
25772577
+ `slidingStep`: Slide a window by the time length. Long data type. Optional. If not set, default to the same as `timeInterval`.
25782578
+ `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.
25792579
+ `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.

src/UserGuide/latest/SQL-Manual/Function-and-Expression.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2386,7 +2386,7 @@ M4 is used to sample the `first, last, bottom, top` points for each sliding wind
23862386
23872387
**(2) Attributes for the time window:**
23882388
2389-
+ `timeInterval`: The time interval length of a window. Long data type. **Required**.
2389+
+ `timeInterval`: The time interval length of a window. Unit: millisecond (ms).Long data type. **Required**.
23902390
+ `slidingStep`: Slide a window by the time length. Long data type. Optional. If not set, default to the same as `timeInterval`.
23912391
+ `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.
23922392
+ `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.

src/zh/UserGuide/Master/Tree/SQL-Manual/Function-and-Expression.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2578,7 +2578,7 @@ M4用于在窗口内采样第一个点(`first`)、最后一个点(`last`
25782578
25792579
**(2) 滑动时间窗口(SlidingTimeWindowAccessStrategy)使用的属性参数:**
25802580
2581-
+ `timeInterval`: 一个窗口的时间长度。Long数据类型。必需的属性参数。
2581+
+ `timeInterval`: 一个窗口的时间长度,单位毫秒。Long数据类型。必需的属性参数。
25822582
+ `slidingStep`: 按照设定的时长来滑动窗口。Long数据类型。可选的属性参数;如果没有设置,默认取值和`timeInterval`一样。
25832583
+ `displayWindowBegin`: 窗口滑动的起始时间戳位置(包含在内)。Long数据类型。可选的属性参数;如果没有设置,默认取值为Long.MIN_VALUE,意为使用输入的时间序列的第一个点的时间戳作为窗口滑动的起始时间戳位置。
25842584
+ `displayWindowEnd`: 结束时间限制(不包含在内;本质上和`WHERE time < displayWindowEnd`起的效果是一样的)。Long数据类型。可选的属性参数;如果没有设置,默认取值为Long.MAX_VALUE,意为除了输入的时间序列自身数据读取完毕之外没有增加额外的结束时间过滤条件限制。

src/zh/UserGuide/V1.3.x/SQL-Manual/Function-and-Expression.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2579,7 +2579,7 @@ M4用于在窗口内采样第一个点(`first`)、最后一个点(`last`
25792579
25802580
**(2) 滑动时间窗口(SlidingTimeWindowAccessStrategy)使用的属性参数:**
25812581
2582-
+ `timeInterval`: 一个窗口的时间长度。Long数据类型。必需的属性参数。
2582+
+ `timeInterval`: 一个窗口的时间长度,单位毫秒。Long数据类型。必需的属性参数。
25832583
+ `slidingStep`: 按照设定的时长来滑动窗口。Long数据类型。可选的属性参数;如果没有设置,默认取值和`timeInterval`一样。
25842584
+ `displayWindowBegin`: 窗口滑动的起始时间戳位置(包含在内)。Long数据类型。可选的属性参数;如果没有设置,默认取值为Long.MIN_VALUE,意为使用输入的时间序列的第一个点的时间戳作为窗口滑动的起始时间戳位置。
25852585
+ `displayWindowEnd`: 结束时间限制(不包含在内;本质上和`WHERE time < displayWindowEnd`起的效果是一样的)。Long数据类型。可选的属性参数;如果没有设置,默认取值为Long.MAX_VALUE,意为除了输入的时间序列自身数据读取完毕之外没有增加额外的结束时间过滤条件限制。

src/zh/UserGuide/dev-1.3/SQL-Manual/Function-and-Expression.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2579,7 +2579,7 @@ M4用于在窗口内采样第一个点(`first`)、最后一个点(`last`
25792579
25802580
**(2) 滑动时间窗口(SlidingTimeWindowAccessStrategy)使用的属性参数:**
25812581
2582-
+ `timeInterval`: 一个窗口的时间长度。Long数据类型。必需的属性参数。
2582+
+ `timeInterval`: 一个窗口的时间长度,单位毫秒。Long数据类型。必需的属性参数。
25832583
+ `slidingStep`: 按照设定的时长来滑动窗口。Long数据类型。可选的属性参数;如果没有设置,默认取值和`timeInterval`一样。
25842584
+ `displayWindowBegin`: 窗口滑动的起始时间戳位置(包含在内)。Long数据类型。可选的属性参数;如果没有设置,默认取值为Long.MIN_VALUE,意为使用输入的时间序列的第一个点的时间戳作为窗口滑动的起始时间戳位置。
25852585
+ `displayWindowEnd`: 结束时间限制(不包含在内;本质上和`WHERE time < displayWindowEnd`起的效果是一样的)。Long数据类型。可选的属性参数;如果没有设置,默认取值为Long.MAX_VALUE,意为除了输入的时间序列自身数据读取完毕之外没有增加额外的结束时间过滤条件限制。

src/zh/UserGuide/latest/SQL-Manual/Function-and-Expression.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2578,7 +2578,7 @@ M4用于在窗口内采样第一个点(`first`)、最后一个点(`last`
25782578
25792579
**(2) 滑动时间窗口(SlidingTimeWindowAccessStrategy)使用的属性参数:**
25802580
2581-
+ `timeInterval`: 一个窗口的时间长度。Long数据类型。必需的属性参数。
2581+
+ `timeInterval`: 一个窗口的时间长度,单位毫秒。Long数据类型。必需的属性参数。
25822582
+ `slidingStep`: 按照设定的时长来滑动窗口。Long数据类型。可选的属性参数;如果没有设置,默认取值和`timeInterval`一样。
25832583
+ `displayWindowBegin`: 窗口滑动的起始时间戳位置(包含在内)。Long数据类型。可选的属性参数;如果没有设置,默认取值为Long.MIN_VALUE,意为使用输入的时间序列的第一个点的时间戳作为窗口滑动的起始时间戳位置。
25842584
+ `displayWindowEnd`: 结束时间限制(不包含在内;本质上和`WHERE time < displayWindowEnd`起的效果是一样的)。Long数据类型。可选的属性参数;如果没有设置,默认取值为Long.MAX_VALUE,意为除了输入的时间序列自身数据读取完毕之外没有增加额外的结束时间过滤条件限制。

0 commit comments

Comments
 (0)