Merge pull request #20641 from taosdata/docs/3.0_doc_wxy

docs: fix event window doc
This commit is contained in:
wade zhang 2023-03-27 09:57:10 +08:00 committed by GitHub
commit b2236a05af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)