From 492a147f58d5b40f97daff00dac8fb5e9c023393 Mon Sep 17 00:00:00 2001 From: Leto_b Date: Mon, 25 May 2026 17:17:50 +0800 Subject: [PATCH] fix sql of error example in operate metadata --- 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 7806b1a60..17b3ea28a 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 04818825f..b791e680e 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 7806b1a60..17b3ea28a 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 04818825f..b791e680e 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 cb4b7f3ee..fd42c986b 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 0c70a2dba..44a04a5b5 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 cb4b7f3ee..fd42c986b 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 0c70a2dba..44a04a5b5 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 ``` #### 创建对齐时间序列