Skip to content

Commit 1632b3a

Browse files
authored
docs: fix example (#3907)
raw SQL request mode example was wrong because execute_mode should be request
1 parent d9bb344 commit 1632b3a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/en/openmldb_sql/dql/SELECT_STATEMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,6 @@ Parentheses `()` expression is the minimal unit to a request row, every expressi
142142
-- executing SQL as request mode, with request row (10, "foo", timestamp(4000))
143143
SELECT id, count (val) over (partition by id order by ts rows between 10 preceding and current row)
144144
FROM t1
145-
CONFIG (execute_mode = 'online', values = (10, "foo", timestamp (4000)))
145+
CONFIG (execute_mode = 'request', values = (10, "foo", timestamp (4000)))
146146
```
147147

docs/zh/openmldb_sql/dql/SELECT_STATEMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ OpenMLDB >= 0.9.0 支持在 query statement 中用 CONFIG 子句配置 SQL 的
153153
-- 执行请求行为 (10, "foo", timestamp(4000)) 的在线请求模式 query
154154
SELECT id, count (val) over (partition by id order by ts rows between 10 preceding and current row)
155155
FROM t1
156-
CONFIG (execute_mode = 'online', values = (10, "foo", timestamp (4000)))
156+
CONFIG (execute_mode = 'request', values = (10, "foo", timestamp (4000)))
157157
```
158158

159159
## 离线同步模式 Query

0 commit comments

Comments
 (0)