docs: fix event window doc

This commit is contained in:
Xiaoyu Wang 2023-03-27 09:51:25 +08:00
parent f6776e1cc4
commit 522fbb0f84
2 changed files with 2 additions and 2 deletions

View File

@ -171,7 +171,7 @@ If you want to perform event window based query on the result set of a sub-query
For example, the diagram below illustrates the event windows generated by the query below: For example, the diagram below illustrates the event windows generated by the query below:
```sql ```sql
select _wstart, _wend, count(*) from t start with c1 > 0 end with c2 < 10 select _wstart, _wend, count(*) from t event_window start with c1 > 0 end with c2 < 10
``` ```
![Event Window Illustration](./event_window.webp) ![Event Window Illustration](./event_window.webp)

View File

@ -163,7 +163,7 @@ SELECT COUNT(*), FIRST(ts) FROM temp_tb_1 SESSION(ts, tol_val);
以下面的 SQL 语句为例,事件窗口切分如图所示: 以下面的 SQL 语句为例,事件窗口切分如图所示:
```sql ```sql
select _wstart, _wend, count(*) from t start with c1 > 0 end with c2 < 10 select _wstart, _wend, count(*) from t event_window start with c1 > 0 end with c2 < 10
``` ```
![TDengine Database 事件窗口示意图](./event_window.webp) ![TDengine Database 事件窗口示意图](./event_window.webp)