Hi,

I have merged this PR.

It is better to describe your main implementation solution on both the
mailing list and the JIRA.

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院


Jialin Qiao <[email protected]> 于2020年10月30日周五 下午10:34写道:

> Hi,
>
> > So I believe it's better for `delete storage group FullPath` command to
> support wildcard, which can be regarded as `delete storage group
> <prefixPath>`
>
> +1, this is a good function
>
> Thanks,
> --
> Jialin Qiao
> School of Software, Tsinghua University
>
> 乔嘉林
> 清华大学 软件学院
>
> > -----原始邮件-----
> > 发件人: "谭新宇" <[email protected]>
> > 发送时间: 2020-10-30 14:04:24 (星期五)
> > 收件人: dev <[email protected]>
> > 抄送:
> > 主题: Support `delete storage group <prefixPath>'
> >
> > Greetings,
> >
> >
> > Currently, it seems that the user can delete all data and
> timeseries:&nbsp;
> > delete timeseries root.*;
> >
> >
> > 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 FullPath` command to
> support wildcard, which can be regarded as `delete storage group
> <prefixPath&gt;`
> >
> > For example, all sgs and data can be deleted by one sql efficiently:
> > delete storage group root.*;
> >
> >
> > This sql is useful for some users in many scenarios, such as system
> cleanup during continuous testing.
> >
> >
> >
> >
> > I have implemented this feature and created a PR[1], you can take a
> review if you are interested in it.
> >
> >
> >
> >
> > [1] https://github.com/apache/iotdb/pull/1881
> >
> >
> >
> >
> > Best:)
> >
> > --------
> >
> > Xinyu Tan
>

Reply via email to