You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "yanze chen (Jira)" <ji...@apache.org> on 2023/01/12 13:11:00 UTC

[jira] [Created] (IOTDB-5414) Timeseries with alias deleted success but can still be queried by alias

yanze chen created IOTDB-5414:
---------------------------------

             Summary: Timeseries with alias deleted success but can still be queried by alias
                 Key: IOTDB-5414
                 URL: https://issues.apache.org/jira/browse/IOTDB-5414
             Project: Apache IoTDB
          Issue Type: Bug
            Reporter: yanze chen
            Assignee: yanze chen


{code:java}
IoTDB> create timeseries root.turbine.d1.s1(temprature) with datatype=FLOAT, encoding=RLE, compression=SNAPPY
Msg: The statement is executed successfully.
IoTDB> create timeseries root.turbine.d1.s2 with datatype=FLOAT, encoding=RLE, compression=SNAPPY
Msg: The statement is executed successfully.
IoTDB> SHOW TIMESERIES root.**
+------------------+----------+------------+--------+--------+-----------+----+----------+--------+------------------+
|        Timeseries|     Alias|    Database|DataType|Encoding|Compression|Tags|Attributes|Deadband|DeadbandParameters|
+------------------+----------+------------+--------+--------+-----------+----+----------+--------+------------------+
|root.turbine.d1.s1|temprature|root.turbine|   FLOAT|     RLE|     SNAPPY|null|      null|    null|              null|
|root.turbine.d1.s2|      null|root.turbine|   FLOAT|     RLE|     SNAPPY|null|      null|    null|              null|
+------------------+----------+------------+--------+--------+-----------+----+----------+--------+------------------+
Total line number = 2
It costs 0.109s
IoTDB> delete timeseries root.turbine.d1.s1
Msg: The statement is executed successfully.
IoTDB> SHOW TIMESERIES root.**
+------------------+-----+------------+--------+--------+-----------+----+----------+--------+------------------+
|        Timeseries|Alias|    Database|DataType|Encoding|Compression|Tags|Attributes|Deadband|DeadbandParameters|
+------------------+-----+------------+--------+--------+-----------+----+----------+--------+------------------+
|root.turbine.d1.s2| null|root.turbine|   FLOAT|     RLE|     SNAPPY|null|      null|    null|              null|
+------------------+-----+------------+--------+--------+-----------+----+----------+--------+------------------+
Total line number = 1
It costs 0.022s
IoTDB> SHOW TIMESERIES root.turbine.d1.temprature
+------------------+----------+------------+--------+--------+-----------+----+----------+--------+------------------+
|        Timeseries|     Alias|    Database|DataType|Encoding|Compression|Tags|Attributes|Deadband|DeadbandParameters|
+------------------+----------+------------+--------+--------+-----------+----+----------+--------+------------------+
|root.turbine.d1.s1|temprature|root.turbine|   FLOAT|     RLE|     SNAPPY|null|      null|    null|              null|
+------------------+----------+------------+--------+--------+-----------+----+----------+--------+------------------+
Total line number = 1
It costs 0.019s {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)