Skip to content

Commit 5a2e85e

Browse files
authored
Fix continuous query maximum example descriptions (#1215)
1 parent e2d1abd commit 5a2e85e

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎src/UserGuide/Master/Tree/User-Manual/Database-Programming.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ SELECT max_value(temperature)
136136
END
137137
```
138138

139-
`cq1` calculates the 10-second average of `temperature` sensor under the `root.ln` prefix path and stores the results in the `temperature_max` sensor using the same prefix path as the corresponding sensor.
139+
`cq1` calculates the 10-second maximum of `temperature` sensor under the `root.ln` prefix path and stores the results in the `temperature_max` sensor using the same prefix path as the corresponding sensor.
140140

141141
`cq1` executes at 20-second intervals, the same interval as the `EVERY` interval. Every 20 seconds, `cq1` runs a single query that covers the time range for the current time bucket, that is, the 20-second time bucket that intersects with `now()`.
142142

‎src/UserGuide/V1.3.x/User-Manual/Database-Programming.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ SELECT max_value(temperature)
136136
END
137137
```
138138

139-
`cq1` calculates the 10-second average of `temperature` sensor under the `root.ln` prefix path and stores the results in the `temperature_max` sensor using the same prefix path as the corresponding sensor.
139+
`cq1` calculates the 10-second maximum of `temperature` sensor under the `root.ln` prefix path and stores the results in the `temperature_max` sensor using the same prefix path as the corresponding sensor.
140140

141141
`cq1` executes at 20-second intervals, the same interval as the `EVERY` interval. Every 20 seconds, `cq1` runs a single query that covers the time range for the current time bucket, that is, the 20-second time bucket that intersects with `now()`.
142142

‎src/UserGuide/dev-1.3/User-Manual/Database-Programming.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ SELECT max_value(temperature)
136136
END
137137
```
138138

139-
`cq1` calculates the 10-second average of `temperature` sensor under the `root.ln` prefix path and stores the results in the `temperature_max` sensor using the same prefix path as the corresponding sensor.
139+
`cq1` calculates the 10-second maximum of `temperature` sensor under the `root.ln` prefix path and stores the results in the `temperature_max` sensor using the same prefix path as the corresponding sensor.
140140

141141
`cq1` executes at 20-second intervals, the same interval as the `EVERY` interval. Every 20 seconds, `cq1` runs a single query that covers the time range for the current time bucket, that is, the 20-second time bucket that intersects with `now()`.
142142

‎src/UserGuide/latest/User-Manual/Database-Programming.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ SELECT max_value(temperature)
136136
END
137137
```
138138

139-
`cq1` calculates the 10-second average of `temperature` sensor under the `root.ln` prefix path and stores the results in the `temperature_max` sensor using the same prefix path as the corresponding sensor.
139+
`cq1` calculates the 10-second maximum of `temperature` sensor under the `root.ln` prefix path and stores the results in the `temperature_max` sensor using the same prefix path as the corresponding sensor.
140140

141141
`cq1` executes at 20-second intervals, the same interval as the `EVERY` interval. Every 20 seconds, `cq1` runs a single query that covers the time range for the current time bucket, that is, the 20-second time bucket that intersects with `now()`.
142142

‎src/zh/UserGuide/Master/Tree/User-Manual/Database-Programming.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ BEGIN
132132
END
133133
```
134134

135-
`cq1`计算出`temperature`传感器每10秒的平均值,并且将查询结果存储在`temperature_max`传感器下,传感器路径前缀使用跟原来一样的前缀。
135+
`cq1`计算出`temperature`传感器每10秒的最大值,并且将查询结果存储在`temperature_max`传感器下,传感器路径前缀使用跟原来一样的前缀。
136136

137137
`cq1`每20秒执行一次,每次执行的查询的时间窗口范围是从过去20秒到当前时间。
138138

‎src/zh/UserGuide/V1.3.x/User-Manual/Database-Programming.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ BEGIN
132132
END
133133
```
134134

135-
`cq1`计算出`temperature`传感器每10秒的平均值,并且将查询结果存储在`temperature_max`传感器下,传感器路径前缀使用跟原来一样的前缀。
135+
`cq1`计算出`temperature`传感器每10秒的最大值,并且将查询结果存储在`temperature_max`传感器下,传感器路径前缀使用跟原来一样的前缀。
136136

137137
`cq1`每20秒执行一次,每次执行的查询的时间窗口范围是从过去20秒到当前时间。
138138

‎src/zh/UserGuide/dev-1.3/User-Manual/Database-Programming.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ BEGIN
132132
END
133133
```
134134

135-
`cq1`计算出`temperature`传感器每10秒的平均值,并且将查询结果存储在`temperature_max`传感器下,传感器路径前缀使用跟原来一样的前缀。
135+
`cq1`计算出`temperature`传感器每10秒的最大值,并且将查询结果存储在`temperature_max`传感器下,传感器路径前缀使用跟原来一样的前缀。
136136

137137
`cq1`每20秒执行一次,每次执行的查询的时间窗口范围是从过去20秒到当前时间。
138138

‎src/zh/UserGuide/latest/User-Manual/Database-Programming.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ BEGIN
132132
END
133133
```
134134

135-
`cq1`计算出`temperature`传感器每10秒的平均值,并且将查询结果存储在`temperature_max`传感器下,传感器路径前缀使用跟原来一样的前缀。
135+
`cq1`计算出`temperature`传感器每10秒的最大值,并且将查询结果存储在`temperature_max`传感器下,传感器路径前缀使用跟原来一样的前缀。
136136

137137
`cq1`每20秒执行一次,每次执行的查询的时间窗口范围是从过去20秒到当前时间。
138138

0 commit comments

Comments
 (0)