[ 
https://issues.apache.org/jira/browse/IOTDB-6344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17860089#comment-17860089
 ] 

xiaozhihong commented on IOTDB-6344:
------------------------------------

!image-2024-06-26-16-06-28-383.png|width=772,height=308!

> Don't display null in cli
> -------------------------
>
>                 Key: IOTDB-6344
>                 URL: https://issues.apache.org/jira/browse/IOTDB-6344
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Query
>            Reporter: Yuan Tian
>            Assignee: Yuan Tian
>            Priority: Major
>         Attachments: image-2024-06-26-14-40-02-441.png, 
> image-2024-06-26-16-06-28-383.png
>
>
> execute the following sql:
> ```
> CREATE DATABASE root.sg_type;
> CREATE TIMESERIES root.sg_type.d_0.s_boolean BOOLEAN;
> CREATE TIMESERIES root.sg_type.d_0.s_int32 INT32;
> CREATE TIMESERIES root.sg_type.d_0.s_int64 INT64;
> CREATE TIMESERIES root.sg_type.d_0.s_float FLOAT;
> CREATE TIMESERIES root.sg_type.d_0.s_double DOUBLE;
> CREATE TIMESERIES root.sg_type.d_0.s_text TEXT;
> CREATE TIMESERIES root.sg_type.d_0.s_timestamp TIMESTAMP;
> CREATE TIMESERIES root.sg_type.d_0.s_date DATE;
> CREATE TIMESERIES root.sg_type.d_0.s_blob BLOB;
> CREATE TIMESERIES root.sg_type.d_0.s_string STRING;
> INSERT INTO root.sg_type.d_0(time, s_int32, s_int64, s_float, s_double, 
> s_text) VALUES (0, 0, 0, 0.000000, 0.000000, 'text0');
> ```
>  
> we don't insert s_boolean, so we should get null, but we still get false:
> ```
> select s_int32, s_int64, s_float, s_double, s_boolean, s_text from 
> root.sg_type.d_0;
> ```
> !image-2024-06-26-14-40-02-441.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to