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/01/12 12:31:00 UTC

[jira] [Created] (IOTDB-2367) Linear null value padding does not raise an exception for unsupported data types

xiaozhihong created IOTDB-2367:
----------------------------------

             Summary: Linear null value padding does not raise an exception for unsupported data types
                 Key: IOTDB-2367
                 URL: https://issues.apache.org/jira/browse/IOTDB-2367
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Server
    Affects Versions: 0.13.0-SNAPSHOT
            Reporter: xiaozhihong
         Attachments: image-2022-01-12-20-30-33-097.png

Such as:
IoTDB> show timeseries root.sg.d1.*
+-------------+-----+-------------+--------+--------+-----------+----+----------+
|   timeseries|alias|storage group|dataType|encoding|compression|tags|attributes|
+-------------+-----+-------------+--------+--------+-----------+----+----------+
|root.sg.d1.s3| null|      root.sg|   INT32|     RLE|     SNAPPY|null|      null|
|root.sg.d1.s4| null|      root.sg| BOOLEAN|     RLE|     SNAPPY|null|      null|
|root.sg.d1.s5| null|      root.sg|   INT64|     RLE|     SNAPPY|null|      null|
|root.sg.d1.s6| null|      root.sg|  DOUBLE|     RLE|     SNAPPY|null|      null|
|root.sg.d1.s7| null|      root.sg|    TEXT|   PLAIN|     SNAPPY|null|      null|
|root.sg.d1.s2| null|      root.sg|   FLOAT| GORILLA|     SNAPPY|null|      null|
+-------------+-----+-------------+--------+--------+-----------+----+----------+

Execute fill query:
IoTDB> select s4 from root.sg.d1 where time = 2020-12-12T14:10:10.000+08:00 fill(linear,20m,100m)
+-----------------------------+-------------+
|                         Time|root.sg.d1.s4|
+-----------------------------+-------------+
|2020-12-12T14:10:10.000+08:00|         null|
+-----------------------------+-------------+

Timeseries root.sg.d1.s4 is a BOOLEAN data type, so it should be raise an exception.

!image-2022-01-12-20-30-33-097.png!



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