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/01/25 08:27:00 UTC

[jira] [Created] (IOTDB-1124) SHOW LATEST TIMESERIES显示顺序不正确

刘珍 created IOTDB-1124:
-------------------------

             Summary: SHOW LATEST TIMESERIES显示顺序不正确
                 Key: IOTDB-1124
                 URL: https://issues.apache.org/jira/browse/IOTDB-1124
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Server
         Environment: version 0.11.3-SNAPSHOT

            Reporter: 刘珍
         Attachments: image-2021-01-25-16-22-14-827.png, image-2021-01-25-16-22-52-738.png

复现流程:

cli连接IoTDB每次执行1条SQL:

create timeseries root.db_1.tab1.status with datatype=BOOLEAN,encoding=PLAIN ; 
create timeseries root.db_1.tab2.temperature with datatype=FLOAT,encoding=PLAIN ; 
create timeseries root.db_1.tab3.hardware with datatype=TEXT,encoding=PLAIN ; 
create timeseries root.db_1.tab4.price with datatype=DOUBLE,encoding=PLAIN ;
create timeseries root.db_1.tab5.age with datatype=INT32,encoding=REGULAR ;
create timeseries root.db_1.tab6.salary with datatype=INT64,encoding=REGULAR ;

SHOW LATEST TIMESERIES;

结果为:

 

最近插入时间戳在结果集下面,有序。

!image-2021-01-25-16-22-52-738.png!

再执行

create timeseries root.db_2.tab0.salary with datatype=INT64,encoding=REGULAR ;

SHOW LATEST TIMESERIES;   --查询结果有序

create timeseries root.db_0.tab0.salary with datatype=INT64,encoding=REGULAR ;

SHOW LATEST TIMESERIES;  

!image-2021-01-25-16-22-14-827.png!

最近插入的时间戳在结果集的第一行,乱序。



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