[
https://issues.apache.org/jira/browse/IOTDB-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tan xinyu reassigned IOTDB-941:
-------------------------------
Assignee: Tan xinyu
> Support 'delete storage group <prefixPath>'
> -------------------------------------------
>
> Key: IOTDB-941
> URL: https://issues.apache.org/jira/browse/IOTDB-941
> Project: Apache IoTDB
> Issue Type: Improvement
> Components: Core/Engine
> Reporter: Tan xinyu
> Assignee: Tan xinyu
> Priority: Major
> Fix For: master branch
>
>
> Currently, it seems that the user can delete all data and timeseries by
> {code:sql}
> delete timeseries root.*;
> {code}
> But this sql cann't delete all related storage groups. In addition, such an
> approach would be more time-consuming than simply deleting specified storage
> groups.
> So I believe it's better for `delete storage group' command to support
> wildcard.
> For example, all sgs and data can be deleted by one sql efficiently.
> {code:sql}
> delete storage group root.*;
> {code}
> this sql is useful for some users in many scenarios, such as system cleanup
> during continuous testing;
--
This message was sent by Atlassian Jira
(v8.3.4#803005)