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 69ee2b4b fix sql of error example in operate metadata (#1132)
69ee2b4b is described below
commit 69ee2b4be7b16d29ff8cc18b65dcad2050d99d40
Author: leto-b <[email protected]>
AuthorDate: Wed May 27 14:20:47 2026 +0800
fix sql of error example in operate metadata (#1132)
---
src/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_apache.md | 4 ++--
src/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_timecho.md | 2 +-
src/UserGuide/latest/SQL-Manual/SQL-Manual_apache.md | 4 ++--
src/UserGuide/latest/SQL-Manual/SQL-Manual_timecho.md | 2 +-
src/zh/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_apache.md | 4 ++--
src/zh/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_timecho.md | 4 ++--
src/zh/UserGuide/latest/SQL-Manual/SQL-Manual_apache.md | 4 ++--
src/zh/UserGuide/latest/SQL-Manual/SQL-Manual_timecho.md | 4 ++--
8 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_apache.md
b/src/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_apache.md
index 7806b1a6..17b3ea28 100644
--- a/src/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_apache.md
+++ b/src/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_apache.md
@@ -211,8 +211,8 @@ create timeseries root.sgcc.wf03.wt01.temperature with
datatype=FLOAT;
- Notice that when in the CREATE TIMESERIES statement the encoding method
conflicts with the data type, the system gives the corresponding error prompt
as shown below:
```sql
-create timeseries root.ln.wf02.wt02.status WITH DATATYPE=BOOLEAN;
-error: encoding TS_2DIFF does not support BOOLEAN;
+create timeseries root.ln.wf02.wt02.status WITH DATATYPE=BOOLEAN,
ENCODING=TS_2DIFF;
+error: encoding TS_2DIFF does not support BOOLEAN
```
### 3.2 Create Aligned Timeseries
diff --git a/src/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_timecho.md
b/src/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_timecho.md
index 04818825..b791e680 100644
--- a/src/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_timecho.md
+++ b/src/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_timecho.md
@@ -132,7 +132,7 @@ create timeseries root.sgcc.wf03.wt01.temperature with
datatype=FLOAT;
- Notice that when in the CREATE TIMESERIES statement the encoding method
conflicts with the data type, the system gives the corresponding error prompt
as shown below:
```sql
-create timeseries root.ln.wf02.wt02.status WITH DATATYPE=BOOLEAN;
+create timeseries root.ln.wf02.wt02.status WITH DATATYPE=BOOLEAN,
ENCODING=TS_2DIFF;
error: encoding TS_2DIFF does not support BOOLEAN
```
diff --git a/src/UserGuide/latest/SQL-Manual/SQL-Manual_apache.md
b/src/UserGuide/latest/SQL-Manual/SQL-Manual_apache.md
index 7806b1a6..17b3ea28 100644
--- a/src/UserGuide/latest/SQL-Manual/SQL-Manual_apache.md
+++ b/src/UserGuide/latest/SQL-Manual/SQL-Manual_apache.md
@@ -211,8 +211,8 @@ create timeseries root.sgcc.wf03.wt01.temperature with
datatype=FLOAT;
- Notice that when in the CREATE TIMESERIES statement the encoding method
conflicts with the data type, the system gives the corresponding error prompt
as shown below:
```sql
-create timeseries root.ln.wf02.wt02.status WITH DATATYPE=BOOLEAN;
-error: encoding TS_2DIFF does not support BOOLEAN;
+create timeseries root.ln.wf02.wt02.status WITH DATATYPE=BOOLEAN,
ENCODING=TS_2DIFF;
+error: encoding TS_2DIFF does not support BOOLEAN
```
### 3.2 Create Aligned Timeseries
diff --git a/src/UserGuide/latest/SQL-Manual/SQL-Manual_timecho.md
b/src/UserGuide/latest/SQL-Manual/SQL-Manual_timecho.md
index 04818825..b791e680 100644
--- a/src/UserGuide/latest/SQL-Manual/SQL-Manual_timecho.md
+++ b/src/UserGuide/latest/SQL-Manual/SQL-Manual_timecho.md
@@ -132,7 +132,7 @@ create timeseries root.sgcc.wf03.wt01.temperature with
datatype=FLOAT;
- Notice that when in the CREATE TIMESERIES statement the encoding method
conflicts with the data type, the system gives the corresponding error prompt
as shown below:
```sql
-create timeseries root.ln.wf02.wt02.status WITH DATATYPE=BOOLEAN;
+create timeseries root.ln.wf02.wt02.status WITH DATATYPE=BOOLEAN,
ENCODING=TS_2DIFF;
error: encoding TS_2DIFF does not support BOOLEAN
```
diff --git a/src/zh/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_apache.md
b/src/zh/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_apache.md
index cb4b7f3e..fd42c986 100644
--- a/src/zh/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_apache.md
+++ b/src/zh/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_apache.md
@@ -62,8 +62,8 @@ create timeseries root.sgcc.wf03.wt01.temperature FLOAT;
- 错误提示
```sql
-create timeseries root.ln.wf02.wt02.status WITH DATATYPE=BOOLEAN;
-> error: encoding TS_2DIFF does not support BOOLEAN;
+create timeseries root.ln.wf02.wt02.status WITH DATATYPE=BOOLEAN,
ENCODING=TS_2DIFF;
+error: encoding TS_2DIFF does not support BOOLEAN
```
#### 创建对齐时间序列
diff --git a/src/zh/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_timecho.md
b/src/zh/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_timecho.md
index 0c70a2db..44a04a5b 100644
--- a/src/zh/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_timecho.md
+++ b/src/zh/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_timecho.md
@@ -62,8 +62,8 @@ create timeseries root.sgcc.wf03.wt01.temperature FLOAT;
- 错误提示
```sql
-create timeseries root.ln.wf02.wt02.status WITH DATATYPE=BOOLEAN;
-> error: encoding TS_2DIFF does not support BOOLEAN;
+create timeseries root.ln.wf02.wt02.status WITH DATATYPE=BOOLEAN,
ENCODING=TS_2DIFF;
+error: encoding TS_2DIFF does not support BOOLEAN
```
#### 创建对齐时间序列
diff --git a/src/zh/UserGuide/latest/SQL-Manual/SQL-Manual_apache.md
b/src/zh/UserGuide/latest/SQL-Manual/SQL-Manual_apache.md
index cb4b7f3e..fd42c986 100644
--- a/src/zh/UserGuide/latest/SQL-Manual/SQL-Manual_apache.md
+++ b/src/zh/UserGuide/latest/SQL-Manual/SQL-Manual_apache.md
@@ -62,8 +62,8 @@ create timeseries root.sgcc.wf03.wt01.temperature FLOAT;
- 错误提示
```sql
-create timeseries root.ln.wf02.wt02.status WITH DATATYPE=BOOLEAN;
-> error: encoding TS_2DIFF does not support BOOLEAN;
+create timeseries root.ln.wf02.wt02.status WITH DATATYPE=BOOLEAN,
ENCODING=TS_2DIFF;
+error: encoding TS_2DIFF does not support BOOLEAN
```
#### 创建对齐时间序列
diff --git a/src/zh/UserGuide/latest/SQL-Manual/SQL-Manual_timecho.md
b/src/zh/UserGuide/latest/SQL-Manual/SQL-Manual_timecho.md
index 0c70a2db..44a04a5b 100644
--- a/src/zh/UserGuide/latest/SQL-Manual/SQL-Manual_timecho.md
+++ b/src/zh/UserGuide/latest/SQL-Manual/SQL-Manual_timecho.md
@@ -62,8 +62,8 @@ create timeseries root.sgcc.wf03.wt01.temperature FLOAT;
- 错误提示
```sql
-create timeseries root.ln.wf02.wt02.status WITH DATATYPE=BOOLEAN;
-> error: encoding TS_2DIFF does not support BOOLEAN;
+create timeseries root.ln.wf02.wt02.status WITH DATATYPE=BOOLEAN,
ENCODING=TS_2DIFF;
+error: encoding TS_2DIFF does not support BOOLEAN
```
#### 创建对齐时间序列