You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "xiaozhihong (Jira)" <ji...@apache.org> on 2022/03/17 03:08:00 UTC

[jira] [Assigned] (IOTDB-2753) Insert a time series with a null value and report 500

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

xiaozhihong reassigned IOTDB-2753:
----------------------------------

    Assignee: Haonan Hou

> Insert a time series with a null value and report 500
> -----------------------------------------------------
>
>                 Key: IOTDB-2753
>                 URL: https://issues.apache.org/jira/browse/IOTDB-2753
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Server
>    Affects Versions: 0.13.0-SNAPSHOT
>            Reporter: xiaozhihong
>            Assignee: Haonan Hou
>            Priority: Major
>         Attachments: image-2022-03-17-11-06-06-935.png
>
>
> Whether the metadata is automatically created or the metadata is created in advance, an error 500 is reported when inserting a null value.
> {code:java}
> IoTDB> show timeseries root.sg.**
> +-------------+-----+-------------+--------+--------+-----------+----+----------+
> |   timeseries|alias|storage group|dataType|encoding|compression|tags|attributes|
> +-------------+-----+-------------+--------+--------+-----------+----+----------+
> |root.sg.d1.s3| null|      root.sg| BOOLEAN|     RLE|     SNAPPY|null|      null|
> |root.sg.d1.s4| null|      root.sg|    TEXT|   PLAIN|     SNAPPY|null|      null|
> |root.sg.d1.s1| null|      root.sg|   FLOAT|     RLE|     SNAPPY|null|      null|
> |root.sg.d1.s2| null|      root.sg|   INT32|     RLE|     SNAPPY|null|      null|
> +-------------+-----+-------------+--------+--------+-----------+----+----------+
> Total line number = 4
> It costs 0.034s
> IoTDB> insert into root.sg.d1(time,s1,s2,s3,s4) values(1,1.2,null,true,'V1');
> Msg: 500: [INTERNAL_SERVER_ERROR(500)] Exception occurred: executeNonQueryPlan failed. java.lang.Boolean cannot be cast to java.lang.Integer
>  {code}
> The log is:
> !image-2022-03-17-11-06-06-935.png!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)