You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Jinrui Zhang (Jira)" <ji...@apache.org> on 2022/06/07 11:56:00 UTC

[jira] [Assigned] (IOTDB-3354) [cluster]count non-existent timeseries and reported an error message

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

Jinrui Zhang reassigned IOTDB-3354:
-----------------------------------

    Assignee: Jinrui Zhang  (was: Yukun Zhou)

> [cluster]count non-existent timeseries and reported an error message
> --------------------------------------------------------------------
>
>                 Key: IOTDB-3354
>                 URL: https://issues.apache.org/jira/browse/IOTDB-3354
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Cluster, mpp-cluster
>    Affects Versions: 0.14.0-SNAPSHOT
>            Reporter: xiaozhihong
>            Assignee: Jinrui Zhang
>            Priority: Major
>
> When counting non-existent timeseries, the number of counts should be 0, and no error message should be given.
> The steps to reproduce are as follows:
> 1. start 3 confignode, start 3 datanode
> 2. choose 1 datanode, enter cli
> 3. create storage group and create timeseries
> {code:java}
> create storage group root.sg;
> create timeseries root.sg.d1.s1.t1 with datatype=float,encoding=RLE;
> create timeseries root.sg.d1.s2 with datatype=double,encoding=RLE;
> create timeseries root.sg.d2.s1 with datatype=INT32,encoding=RLE;
> create timeseries root.sg.d3.s1 with datatype=INT64,encoding=RLE;
> create timeseries root.sg.d3.s2 with datatype=boolean,encoding=RLE;
> create storage group root.ln;
> create timeseries root.ln.wf01.wt01.status with datatype=Boolean,encoding=PLAIN; {code}
> 4.execute count sql
> {code:java}
> IoTDB> count timeseries root.sg.s1;
> Msg: 500: [INTERNAL_SERVER_ERROR(500)] Exception occurred: "count timeseries root.sg.s1". executeStatement failed. null
> IoTDB> count timeseries root.sg.d1;
> Msg: 500: [INTERNAL_SERVER_ERROR(500)] Exception occurred: "count timeseries root.sg.d1". executeStatement failed. null 
> IoTDB> count timeseries root.sg.*;
> Msg: 500: [INTERNAL_SERVER_ERROR(500)] Exception occurred: "count timeseries root.sg.*". executeStatement failed. null {code}
>  



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