You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "刘珍 (Jira)" <ji...@apache.org> on 2023/03/29 07:39:00 UTC
[jira] [Created] (IOTDB-5741) [ template ] template does not need to have aligned/unaligned attributes
刘珍 created IOTDB-5741:
-------------------------
Summary: [ template ] template does not need to have aligned/unaligned attributes
Key: IOTDB-5741
URL: https://issues.apache.org/jira/browse/IOTDB-5741
Project: Apache IoTDB
Issue Type: Bug
Components: Core/Schema Manager, mpp-cluster
Affects Versions: 1.1.0-SNAPSHOT
Reporter: 刘珍
Assignee: Yukun Zhou
Attachments: image-2023-03-29-15-35-56-673.png, image-2023-03-29-15-38-10-551.png
问题描述:
template 不需要区分对齐/非对齐 属性。
https://iotdb.apache.org/zh/UserGuide/Master/Operate-Metadata/Template.html
用户手册需要去掉 aligned的定义
!image-2023-03-29-15-35-56-673.png!
用例:
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; //报错,可以考虑支持么?
Msg: 700: Error occurred while parsing SQL to physical plan: line 1:26 mismatched input 'of' expecting ROOT
insert into root.db2.t1(time,s_0) aligned values(1,1); //报错,应该成功。
template 不区分 对齐/ 非对齐属性后,此insert 应该成功。
{color:red}*Msg: 609: timeseries under this device are not aligned, please use non-aligned interface (Path: root.db2.t1)*{color}
!image-2023-03-29-15-38-10-551.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)