Cpaulyz opened a new pull request, #11032:
URL: https://github.com/apache/iotdb/pull/11032

   ## Description
   Execute the following sql, you will see data of root.sg.d2.s1 doesn't delete 
by `delete from root.*.*.s1`.
   
   ```
   IoTDB> insert into root.sg.d2(time,s1,s2) values(1,2,3)
   Msg: The statement is executed successfully.
   IoTDB> flush
   Msg: The statement is executed successfully.
   IoTDB> select ** from root
   +-----------------------------+-------------+-------------+
   |                         Time|root.sg.d2.s1|root.sg.d2.s2|
   +-----------------------------+-------------+-------------+
   |1970-01-01T08:00:00.001+08:00|          2.0|          3.0|
   +-----------------------------+-------------+-------------+
   Total line number = 1
   It costs 0.153s
   IoTDB> delete from root.*.*.s1
   Msg: The statement is executed successfully.
   IoTDB> select ** from root
   +-----------------------------+-------------+-------------+
   |                         Time|root.sg.d2.s1|root.sg.d2.s2|
   +-----------------------------+-------------+-------------+
   |1970-01-01T08:00:00.001+08:00|          2.0|          3.0|
   +-----------------------------+-------------+-------------+
   Total line number = 1
   It costs 0.013s
   IoTDB> delete from root.**.s1
   Msg: The statement is executed successfully.
   IoTDB> select ** from root
   +-----------------------------+-------------+-------------+
   |                         Time|root.sg.d2.s1|root.sg.d2.s2|
   +-----------------------------+-------------+-------------+
   |1970-01-01T08:00:00.001+08:00|         null|          3.0|
   +-----------------------------+-------------+-------------+
   Total line number = 1
   It costs 0.018s
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to