xiaozhihong created IOTDB-5409:
----------------------------------
Summary: [rel/0.13]Show TTL with wildcards is not supported
Key: IOTDB-5409
URL: https://issues.apache.org/jira/browse/IOTDB-5409
Project: Apache IoTDB
Issue Type: Bug
Affects Versions: 0.13.4-SNAPSHOT
Reporter: xiaozhihong
Assignee: Yukun Zhou
In V0.13.4 snapshot, execute sql about TTL.
{code:java}
IoTDB> set storage group to root.sg;
Msg: The statement is executed successfully.
IoTDB> create storage group root.ln.sg;
Msg: The statement is executed successfully.
IoTDB> show all ttl;
+-------------+-------+
|storage group|ttl(ms)|
+-------------+-------+
| root.sg| null|
| root.ln.sg| null|
+-------------+-------+
Total line number = 2
It costs 0.072s
IoTDB> set ttl to root.sg 3600000;
Msg: The statement is executed successfully.
IoTDB> show all ttl;
+-------------+-------+
|storage group|ttl(ms)|
+-------------+-------+
| root.sg|3600000|
| root.ln.sg| null|
+-------------+-------+
Total line number = 2
It costs 0.005s
IoTDB> SHOW TTL ON root.sg;
+-------------+-------+
|storage group|ttl(ms)|
+-------------+-------+
| root.sg|3600000|
+-------------+-------+
Total line number = 1
It costs 0.041s
IoTDB> SHOW TTL ON root.*;
+-------------+-------+
|storage group|ttl(ms)|
+-------------+-------+
+-------------+-------+
Empty set.
It costs 0.005s
IoTDB> SHOW TTL ON root.**;
+-------------+-------+
|storage group|ttl(ms)|
+-------------+-------+
+-------------+-------+
Empty set.
It costs 0.003s
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)