This is an automated email from the ASF dual-hosted git repository.

qiaojialin 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 7c3c79b9 View does not support updating aliases (#527)
7c3c79b9 is described below

commit 7c3c79b9e12b27a8a3538a4affef607187a8f134
Author: W1y1r <[email protected]>
AuthorDate: Mon Jan 20 20:32:24 2025 +0800

    View does not support updating aliases (#527)
---
 src/UserGuide/Master/Tree/User-Manual/IoTDB-View_timecho.md    | 6 +++---
 src/UserGuide/V2.0.1/Tree/User-Manual/IoTDB-View_timecho.md    | 6 +++---
 src/UserGuide/latest/User-Manual/IoTDB-View_timecho.md         | 6 +++---
 src/zh/UserGuide/Master/Tree/User-Manual/IoTDB-View_timecho.md | 7 ++++---
 src/zh/UserGuide/V2.0.1/Tree/User-Manual/IoTDB-View_timecho.md | 7 ++++---
 src/zh/UserGuide/latest/User-Manual/IoTDB-View_timecho.md      | 6 +++---
 6 files changed, 20 insertions(+), 18 deletions(-)

diff --git a/src/UserGuide/Master/Tree/User-Manual/IoTDB-View_timecho.md 
b/src/UserGuide/Master/Tree/User-Manual/IoTDB-View_timecho.md
index ba013039..b5c8260e 100644
--- a/src/UserGuide/Master/Tree/User-Manual/IoTDB-View_timecho.md
+++ b/src/UserGuide/Master/Tree/User-Manual/IoTDB-View_timecho.md
@@ -363,7 +363,7 @@ In addition, for aliased sequences, if the user wants to 
get information about t
 
 ### Modify Views
 
-The modification operations supported by the view include: modifying its 
calculation logic,modifying tag/attributes/aliases, and deleting.
+The modification operations supported by the view include: modifying its 
calculation logic,modifying tag/attributes, and deleting.
 
 #### Modify view data source
 
@@ -415,9 +415,9 @@ ALTER view root.turbine.d1.s1 SET newTag1=newV1, attr1=newV1
 ALTER view root.turbine.d1.s1 DROP tag1, tag2
 ```
 
-- Update insert aliases, tags and attributes
+- Update insert tags and attributes
 
-> If the alias, tag or attribute did not exist before, insert it, otherwise, 
update the old value with the new one.
+> If the tag or attribute did not exist before, insert it, otherwise, update 
the old value with the new one.
 
 ```SQL
 ALTER view root.turbine.d1.s1 UPSERT TAGS(tag2=newV2, tag3=v3) 
ATTRIBUTES(attr3=v3, attr4=v4)
diff --git a/src/UserGuide/V2.0.1/Tree/User-Manual/IoTDB-View_timecho.md 
b/src/UserGuide/V2.0.1/Tree/User-Manual/IoTDB-View_timecho.md
index e1147c6f..19584739 100644
--- a/src/UserGuide/V2.0.1/Tree/User-Manual/IoTDB-View_timecho.md
+++ b/src/UserGuide/V2.0.1/Tree/User-Manual/IoTDB-View_timecho.md
@@ -363,7 +363,7 @@ In addition, for aliased sequences, if the user wants to 
get information about t
 
 ### Modify Views
 
-The modification operations supported by the view include: modifying its 
calculation logic,modifying tag/attributes/aliases, and deleting.
+The modification operations supported by the view include: modifying its 
calculation logic,modifying tag/attributes, and deleting.
 
 #### Modify view data source
 
@@ -415,9 +415,9 @@ ALTER view root.turbine.d1.s1 SET newTag1=newV1, attr1=newV1
 ALTER view root.turbine.d1.s1 DROP tag1, tag2
 ```
 
-- Update insert aliases, tags and attributes
+- Update insert tags and attributes
 
-> If the alias, tag or attribute did not exist before, insert it, otherwise, 
update the old value with the new one.
+> If the tag or attribute did not exist before, insert it, otherwise, update 
the old value with the new one.
 
 ```SQL
 ALTER view root.turbine.d1.s1 UPSERT TAGS(tag2=newV2, tag3=v3) 
ATTRIBUTES(attr3=v3, attr4=v4)
diff --git a/src/UserGuide/latest/User-Manual/IoTDB-View_timecho.md 
b/src/UserGuide/latest/User-Manual/IoTDB-View_timecho.md
index 8e360584..b84bfef7 100644
--- a/src/UserGuide/latest/User-Manual/IoTDB-View_timecho.md
+++ b/src/UserGuide/latest/User-Manual/IoTDB-View_timecho.md
@@ -363,7 +363,7 @@ In addition, for aliased sequences, if the user wants to 
get information about t
 
 ### Modify Views
 
-The modification operations supported by the view include: modifying its 
calculation logic,modifying tag/attributes/aliases, and deleting.
+The modification operations supported by the view include: modifying its 
calculation logic,modifying tag/attributes, and deleting.
 
 #### Modify view data source
 
@@ -415,9 +415,9 @@ ALTER view root.turbine.d1.s1 SET newTag1=newV1, attr1=newV1
 ALTER view root.turbine.d1.s1 DROP tag1, tag2
 ```
 
-- Update insert aliases, tags and attributes
+- Update insert tags and attributes
 
-> If the alias, tag or attribute did not exist before, insert it, otherwise, 
update the old value with the new one.
+> If the tag or attribute did not exist before, insert it, otherwise, update 
the old value with the new one.
 
 ```SQL
 ALTER view root.turbine.d1.s1 UPSERT TAGS(tag2=newV2, tag3=v3) 
ATTRIBUTES(attr3=v3, attr4=v4)
diff --git a/src/zh/UserGuide/Master/Tree/User-Manual/IoTDB-View_timecho.md 
b/src/zh/UserGuide/Master/Tree/User-Manual/IoTDB-View_timecho.md
index 96f8de72..482317b3 100644
--- a/src/zh/UserGuide/Master/Tree/User-Manual/IoTDB-View_timecho.md
+++ b/src/zh/UserGuide/Master/Tree/User-Manual/IoTDB-View_timecho.md
@@ -361,9 +361,10 @@ WHERE temperature01 < temperature02
 
 
此外,对于别名序列,如果用户想要得到时间序列的tag、attributes等信息,则需要先查询视图列的映射,找到对应的时间序列,再向时间序列查询tag、attributes等信息。查询视图列的映射的方法将会在3.5部分说明。
 
+
 ### 视图修改
 
-视图支持的修改操作包括:修改计算逻辑,修改标签/属性/别名,以及删除。
+视图支持的修改操作包括:修改计算逻辑,修改标签/属性,以及删除。
 
 #### 修改视图数据来源
 
@@ -415,9 +416,9 @@ ALTER view root.turbine.d1.s1 SET newTag1=newV1, attr1=newV1
 ALTER view root.turbine.d1.s1 DROP tag1, tag2
 ```
 
-- 更新插入别名,标签和属性
+- 更新插入标签和属性
 
-> 如果该别名,标签或属性原来不存在,则插入,否则,用新值更新原来的旧值
+> 如果该标签或属性原来不存在,则插入,否则,用新值更新原来的旧值
 
 ```SQL
 ALTER view root.turbine.d1.s1 UPSERT TAGS(tag2=newV2, tag3=v3) 
ATTRIBUTES(attr3=v3, attr4=v4)
diff --git a/src/zh/UserGuide/V2.0.1/Tree/User-Manual/IoTDB-View_timecho.md 
b/src/zh/UserGuide/V2.0.1/Tree/User-Manual/IoTDB-View_timecho.md
index 96f8de72..482317b3 100644
--- a/src/zh/UserGuide/V2.0.1/Tree/User-Manual/IoTDB-View_timecho.md
+++ b/src/zh/UserGuide/V2.0.1/Tree/User-Manual/IoTDB-View_timecho.md
@@ -361,9 +361,10 @@ WHERE temperature01 < temperature02
 
 
此外,对于别名序列,如果用户想要得到时间序列的tag、attributes等信息,则需要先查询视图列的映射,找到对应的时间序列,再向时间序列查询tag、attributes等信息。查询视图列的映射的方法将会在3.5部分说明。
 
+
 ### 视图修改
 
-视图支持的修改操作包括:修改计算逻辑,修改标签/属性/别名,以及删除。
+视图支持的修改操作包括:修改计算逻辑,修改标签/属性,以及删除。
 
 #### 修改视图数据来源
 
@@ -415,9 +416,9 @@ ALTER view root.turbine.d1.s1 SET newTag1=newV1, attr1=newV1
 ALTER view root.turbine.d1.s1 DROP tag1, tag2
 ```
 
-- 更新插入别名,标签和属性
+- 更新插入标签和属性
 
-> 如果该别名,标签或属性原来不存在,则插入,否则,用新值更新原来的旧值
+> 如果该标签或属性原来不存在,则插入,否则,用新值更新原来的旧值
 
 ```SQL
 ALTER view root.turbine.d1.s1 UPSERT TAGS(tag2=newV2, tag3=v3) 
ATTRIBUTES(attr3=v3, attr4=v4)
diff --git a/src/zh/UserGuide/latest/User-Manual/IoTDB-View_timecho.md 
b/src/zh/UserGuide/latest/User-Manual/IoTDB-View_timecho.md
index 96f8de72..2181ae4d 100644
--- a/src/zh/UserGuide/latest/User-Manual/IoTDB-View_timecho.md
+++ b/src/zh/UserGuide/latest/User-Manual/IoTDB-View_timecho.md
@@ -363,7 +363,7 @@ WHERE temperature01 < temperature02
 
 ### 视图修改
 
-视图支持的修改操作包括:修改计算逻辑,修改标签/属性/别名,以及删除。
+视图支持的修改操作包括:修改计算逻辑,修改标签/属性,以及删除。
 
 #### 修改视图数据来源
 
@@ -415,9 +415,9 @@ ALTER view root.turbine.d1.s1 SET newTag1=newV1, attr1=newV1
 ALTER view root.turbine.d1.s1 DROP tag1, tag2
 ```
 
-- 更新插入别名,标签和属性
+- 更新插入标签和属性
 
-> 如果该别名,标签或属性原来不存在,则插入,否则,用新值更新原来的旧值
+> 如果该标签或属性原来不存在,则插入,否则,用新值更新原来的旧值
 
 ```SQL
 ALTER view root.turbine.d1.s1 UPSERT TAGS(tag2=newV2, tag3=v3) 
ATTRIBUTES(attr3=v3, attr4=v4)

Reply via email to