This is an automated email from the ASF dual-hosted git repository.
HTHou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-docs.git
The following commit(s) were added to refs/heads/main by this push:
new 61522b29 the unit of timeInterval param in m4 function is ms (#1136)
61522b29 is described below
commit 61522b29d06a128216ea040ee73958d9d2ba744a
Author: leto-b <[email protected]>
AuthorDate: Wed May 27 14:21:26 2026 +0800
the unit of timeInterval param in m4 function is ms (#1136)
---
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 +-
src/zh/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 160bb069..fd2d7efd 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 d52c1161..081ca505 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 27bb9237..31489468 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 160bb069..fd2d7efd 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 b21af456..4bfa2c8f 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 f6985f56..26d784bc 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 ce558c30..46d08288 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 b21af456..4bfa2c8f 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,意为除了输入的时间序列自身数据读取完毕之外没有增加额外的结束时间过滤条件限制。