[
https://issues.apache.org/jira/browse/IOTDB-3101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17533172#comment-17533172
]
FengQingxin commented on IOTDB-3101:
------------------------------------
1.如果替换成key:value那是不是应该将创建语句也替换成:
create timeseries root.turbine.d1.s1(temprature) with datatype=FLOAT,
encoding=RLE, compression=SNAPPY tags("tag1":"v1", "tag2":"v2")
attributes("attr1":"v1", "attr2":"v2")
这样 DROP "tag1", "tag2" 可以保持一致;
另外RENAME、SET和ADD也是:
ALTER timeseries root.turbine.d1.s1 RENAME "tag1" TO "newTag1"
ALTER timeseries root.turbine.d1.s1 SET "newTag1":""newV1", "attr1":"newV1"
ALTER timeseries root.turbine.d1.s1 ADD TAGS "tag3":"v3", "tag4":"v4"
ALTER timeseries root.turbine.d1.s1 ADD ATTRIBUTES "attr3":"v3", "attr4":"v4"
> change attributeKey and attributeValue to STRING_LITERAL
> --------------------------------------------------------
>
> Key: IOTDB-3101
> URL: https://issues.apache.org/jira/browse/IOTDB-3101
> Project: Apache IoTDB
> Issue Type: Bug
> Reporter: liaolanyu
> Assignee: liaolanyu
> Priority: Major
> Labels: pull-request-available
> Attachments: image-2022-05-05-13-53-07-107.png,
> image-2022-05-06-18-05-12-295.png
>
>
> !image-2022-05-05-13-53-07-107.png!
--
This message was sent by Atlassian Jira
(v8.20.7#820007)