刘珍 created IOTDB-5962:
-------------------------
Summary: The source series of the alias series is aligned , and it
can be successfully inserted without specifying 'aligned'
Key: IOTDB-5962
URL: https://issues.apache.org/jira/browse/IOTDB-5962
Project: Apache IoTDB
Issue Type: Bug
Components: mpp-cluster
Affects Versions: 1.2
Reporter: 刘珍
Assignee: Yukun Zhou
Attachments: image-2023-06-01-10-57-58-421.png
测试版本:iotdb_master_0601_81f541d
问题描述:别名序列对应的时间序列是对齐的,insert into this alias series ,能成功。
测试用例:
drop database root.db;
create database root.db;
create aligned timeseries root.db.d_aligned(s01 INT32 encoding=TS_2DIFF
compressor=ZSTD ,s02 INT32 encoding=GORILLA compressor=GZIP );
create view root.db.d_aligned(v1) as root.db.d_aligned(s01);
insert into root.db.d_aligned(time,v1) values(1,100);
create timeseries root.db.d_normal.speed with datatype=INT64;
create view root.db.d_aligned(v2) as root.db.d_normal(speed);
show view root.db.d_aligned.*;
//下面不指定aligned insert 报错,是正确的报错信息
{color:#DE350B}*insert into root.db.d_aligned(time,v2,v1)
values(1,200,100);*{color}
insert into root.db.d_aligned(time,v2,v1)aligned values(1,200,100);
//下面不指定aligned 再次insert 成功
insert into root.db.d_aligned(time,v2,v1) values(1,200,100);
!image-2023-06-01-10-57-58-421.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)