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/08 02:22:00 UTC

[jira] [Created] (IOTDB-4872) [template]Delete timeseries using the template, and its msg needs to be optimized

xiaozhihong created IOTDB-4872:
----------------------------------

             Summary: [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
            Reporter: xiaozhihong
            Assignee: Yukun Zhou


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)