[ 
https://issues.apache.org/jira/browse/IOTDB-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17288286#comment-17288286
 ] 

Chao Wang commented on IOTDB-1160:
----------------------------------

I feel:
 * “*” match all ... 
 * if do not use "*",  do not delete . for example: "delete storage group 
root", will do not support...

> should they the same? "delete storage group root.sg" and "delete storage 
> group root.sg.*" 
> ------------------------------------------------------------------------------------------
>
>                 Key: IOTDB-1160
>                 URL: https://issues.apache.org/jira/browse/IOTDB-1160
>             Project: Apache IoTDB
>          Issue Type: Bug
>    Affects Versions: 0.11.1
>            Reporter: Xiangdong Huang
>            Priority: Major
>         Attachments: image-2021-02-19-01-43-40-882.png, 
> image-2021-02-19-16-14-24-767.png
>
>
> Now, they have the same effect:
> !image-2021-02-19-01-43-40-882.png|width=395,height=143!
>  
> - should they be the same?
> I think it is dangerous if we have two sgs, root.sg1 and root.sg2, and the 
> user mistakenly runs `delete storage group root` while he/she just wants to 
> delete one of them.
> - should "*" match multiple levels?
> It seems that in other statements, a "*" only match one level.
> maybe we can support "**" to match multiple levels.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to