You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "xiaozhihong (Jira)" <ji...@apache.org> on 2022/11/30 07:34:00 UTC
[jira] [Commented] (IOTDB-4872) [template]Delete timeseries using the template, and its msg needs to be optimized
[ https://issues.apache.org/jira/browse/IOTDB-4872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17641113#comment-17641113 ]
xiaozhihong commented on IOTDB-4872:
------------------------------------
!screenshot-1.png!
> [template]Delete timeseries using the template, and its msg needs to be optimized
> ---------------------------------------------------------------------------------
>
> Key: IOTDB-4872
> URL: https://issues.apache.org/jira/browse/IOTDB-4872
> Project: Apache IoTDB
> Issue Type: Improvement
> Components: mpp-cluster
> Affects Versions: 0.14.0-SNAPSHOT
> Reporter: xiaozhihong
> Assignee: Yukun Zhou
> Priority: Major
> Labels: pull-request-available
> Attachments: screenshot-1.png
>
>
> Create a metadata template, set and create it, then delete the timeseries. The message is not clear and needs to be optimized.
> The current prompt is as follows:
>
> {code:java}
> IoTDB> show nodes in schema template t1;
> +-----------+--------+--------+-----------+
> |child nodes|dataType|encoding|compression|
> +-----------+--------+--------+-----------+
> |temperature| FLOAT| RLE| SNAPPY|
> | status| BOOLEAN| PLAIN| SNAPPY|
> +-----------+--------+--------+-----------+
> Total line number = 2
> It costs 0.002s
> IoTDB> show paths using schema template t1;
> +-----------+
> | paths|
> +-----------+
> |root.sg1.d1|
> +-----------+
> Total line number = 1
> It costs 0.005s
> IoTDB> show timeseries;
> +-----------------------+-----+-------------+--------+--------+-----------+----+----------+
> | timeseries|alias|storage group|dataType|encoding|compression|tags|attributes|
> +-----------------------+-----+-------------+--------+--------+-----------+----+----------+
> |root.sg1.d1.temperature| null| root.sg1| FLOAT| RLE| SNAPPY|null| null|
> | root.sg1.d1.status| null| root.sg1| BOOLEAN| PLAIN| SNAPPY|null| null|
> +-----------------------+-----+-------------+--------+--------+-----------+----+----------+
> Total line number = 2
> It costs 0.006s
> IoTDB> delete timeseries root.sg1.d1.temperature;
> Msg: 304: Path [root.sg1.d1.temperature] does not exist {code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)