You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Yukun Zhou (Jira)" <ji...@apache.org> on 2023/05/08 10:17:00 UTC
[jira] [Assigned] (IOTDB-5740) [schema] drop database does not delete its template
[ https://issues.apache.org/jira/browse/IOTDB-5740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yukun Zhou reassigned IOTDB-5740:
---------------------------------
Assignee: yanze chen (was: Yukun Zhou)
> [schema] drop database does not delete its template
> ---------------------------------------------------
>
> Key: IOTDB-5740
> URL: https://issues.apache.org/jira/browse/IOTDB-5740
> Project: Apache IoTDB
> Issue Type: Bug
> Components: Core/Schema Manager, mpp-cluster
> Affects Versions: 1.1.0-SNAPSHOT
> Reporter: 刘珍
> Assignee: yanze chen
> Priority: Major
> Attachments: image-2023-03-29-14-34-05-872.png
>
>
> drop database 没有删除其template。
> create schema template t1 (s_0 FLOAT)
> create database root.db1;
> set schema template t1 to root.db1;
> create timeseries of schema template on root.db1.t1;
> create database root.db2;
> set schema template t1 to root.db2;
> create aligned timeseries of schema template on root.db2.t1; //报错,正常
> insert into root.db2.t1(time,s_0) aligned values(1,1); //报错,正常
> drop database root.db2;
> create database root.db2;
> create aligned timeseries root.db2.t1(s_0 FLOAT ); // 预期成功,实际报错
> Msg: 516: Path [root.db2.t1.s_0] overlaps with [t1] on [s_0]
> !image-2023-03-29-14-34-05-872.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)