You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Jialin Qiao (Jira)" <ji...@apache.org> on 2022/04/20 01:16:00 UTC

[jira] [Assigned] (IOTDB-2795) [flush] The query result is empty

     [ https://issues.apache.org/jira/browse/IOTDB-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jialin Qiao reassigned IOTDB-2795:
----------------------------------

    Assignee: Haonan Hou  (was: Jialin Qiao)

> [flush] The query result is empty
> ---------------------------------
>
>                 Key: IOTDB-2795
>                 URL: https://issues.apache.org/jira/browse/IOTDB-2795
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Server
>    Affects Versions: 0.13.0
>            Reporter: 刘珍
>            Assignee: Haonan Hou
>            Priority: Major
>         Attachments: image-2022-03-24-10-42-05-271.png
>
>
> 0.13.0 rc1
> 问题描述,写入数据之后立即flush,立即查询,结果集为空。
> 去掉flush,查询结果正确。
> 复现用例:
> delete storage group root.**;
> set storage group to root.sg1;
> CREATE TIMESERIES root.sg1.dev0.s_1 WITH DATATYPE=INT32, ENCODING=GORILLA;
> CREATE TIMESERIES root.sg1.dev0.s_2 WITH DATATYPE=INT64, ENCODING=PLAIN;
> CREATE TIMESERIES root.sg1.dev0.s_3 WITH DATATYPE=float, ENCODING=RLE;
> CREATE TIMESERIES root.sg1.dev0.s_4 WITH DATATYPE=double, ENCODING=TS_2DIFF;
> CREATE TIMESERIES root.sg1.dev0.s_5 WITH DATATYPE=text, ENCODING=DICTIONARY;
> CREATE TIMESERIES root.sg1.dev0.s_6 WITH DATATYPE=boolean, ENCODING=PLAIN;
> insert into root.sg1.dev0(time,s_1,s_2) values(1,100,200),(2,300,400),(3,500,600),(4,700,800),(5,900,1000);
> insert into root.sg1.dev0(time,s_1,s_2) values(11,1100,1200),(12,1300,1400),(13,1500,1600),(14,1700,1800),(15,1900,2000);
> insert into root.sg1.dev0(time,s_1,s_2) values(111,11100,11200),(112,11300,11400),(113,11500,11600),(114,11700,11800),(115,11900,21000);
> flush;
> select s_1,s_2,s_3,s_4,s_5,s_6 from root.sg1.dev0;
> 整个复制粘贴,在cli执行,最后的查询没结果。
> 去掉flush,整个复制粘贴执行,查询正确。
>  !image-2022-03-24-10-42-05-271.png! 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)