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 2021/03/15 02:36:00 UTC

[jira] [Created] (IOTDB-1229) load tsfile into iotdb ,which data contains the same name tsfile,records are not loaded successfully.

刘珍 created IOTDB-1229:
-------------------------

             Summary: load tsfile into iotdb ,which data contains the same name tsfile,records are not loaded successfully.
                 Key: IOTDB-1229
                 URL: https://issues.apache.org/jira/browse/IOTDB-1229
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Server
            Reporter: 刘珍


master branch.

commit id : 5fcff40f2299caeb0c8a9ae42f68bc18ecf8fee7

 

iotdb cli:

SET STORAGE GROUP TO [root.sg|http://root.sg/]

CREATE TIMESERIES [root.sg|http://root.sg/].d1.s1 WITH DATATYPE=DOUBLE, ENCODING=PLAIN

ll data/data/sequence/root.sg/0/0:

1615773108031-1-0.tsfile

1615773108031-1-0.tsfile.resource

 

source tsfile:

1615773108031-1-0.tsfile

which was generated from the following SQL:

SET STORAGE GROUP TO [root.sg|http://root.sg/]

CREATE TIMESERIES [root.sg|http://root.sg/].d1.s1 WITH DATATYPE=DOUBLE, ENCODING=PLAIN

insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:52:50.687+08:00, 0.338776);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:52:50.692+08:00, 0.250776);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:52:50.694+08:00, 0.575861);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:52:50.695+08:00, 0.229369);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:52:50.696+08:00, 0.149007);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:52:50.697+08:00, 0.182348);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:52:50.698+08:00, 0.334755);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:52:50.699+08:00, 0.757181);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:53:02.649+08:00, 0.618037);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:53:02.655+08:00, 0.789077);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:53:02.656+08:00, 0.797554);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:53:02.657+08:00, 0.660189);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:53:02.658+08:00, 0.70841);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:53:02.659+08:00, 0.044449);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:53:02.660+08:00, 0.130961);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:42.835+08:00, 0.681662);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:42.840+08:00, 0.7779);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:42.841+08:00, 0.385094);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:42.842+08:00, 0.406137);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:42.843+08:00, 0.32487);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:42.844+08:00, 0.866891);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:45.601+08:00, 0.400888);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:45.606+08:00, 0.413434);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:45.607+08:00, 0.093675);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:45.608+08:00, 0.89578);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:45.609+08:00, 0.24261);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:45.610+08:00, 0.472395);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:45.611+08:00, 0.371016);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:53.051+08:00, 0.898205);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:53.056+08:00, 0.913098);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:53.057+08:00, 0.637392);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:53.058+08:00, 0.774389);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:53.059+08:00, 0.258826);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:53.060+08:00, 0.900979);
insert into [root.sg|http://root.sg/].d1(time,s1) values (2021-03-12T11:59:53.061+08:00, 0.079831);

flush;

load this tsfile into iotdb:

load ".../data_0315/data/sequence/root.sg/0/0/1615773108031-1-0.tsfile" false;
Msg: The statement is executed successfully.

But:

IoTDB> select * from root.sg.d1.s1;
+----+
|Time|
+----+
+----+
*{color:#FF0000}Empty set.{color}*

Expected:

Total line number = 35

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)