You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "ZhaoXin (Jira)" <ji...@apache.org> on 2022/03/30 09:48:00 UTC

[jira] [Commented] (IOTDB-2826) [template]Can not drop template

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

ZhaoXin commented on IOTDB-2826:
--------------------------------

Thanks for your issue ! Now if all storage group which template has been set to have been deleted, the template could be dropped.

The cause of it is the fromer template implementation does not fit around new design of schema engine, but it's fixed now thanks to this issue.

> [template]Can not drop template
> -------------------------------
>
>                 Key: IOTDB-2826
>                 URL: https://issues.apache.org/jira/browse/IOTDB-2826
>             Project: Apache IoTDB
>          Issue Type: Bug
>    Affects Versions: 0.14.0-SNAPSHOT
>            Reporter: FengQingxin
>            Assignee: ZhaoXin
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2022-03-30-16-58-43-587.png
>
>
> Hi
> Repetition steps:
> create schema template t1 (temperature FLOAT encoding=RLE, status BOOLEAN encoding=PLAIN compression=SNAPPY);
> set schema template t1 to root.sg1.d1;
> drop schema template t1;
> delete storage group root.**;
> drop schema template t1;   {color:#FF0000}got error in this step{color}
> {color:#FF0000}!image-2022-03-30-16-58-43-587.png!{color}
> unset schema template t1 to root.sg1.d1; {color:#FF0000}got error in this step"path does not exist"{color}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)