iotdb-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [iotdb] HTHou commented on issue #2687: Bug about inserting NaN
Date Fri, 19 Feb 2021 06:45:54 GMT

HTHou commented on issue #2687:
URL: https://github.com/apache/iotdb/issues/2687#issuecomment-781868324


   Another problem...
   ```
   IoTDB> CREATE TIMESERIES root.happy.device1.sensor1.temperature WITH DATATYPE=DOUBLE,
ENCODING=RLE
   IoTDB> INSERT INTO root.happy.device1.sensor1(timestamp,temperature) values(7925, NaN)
   IoTDB> select * from root
   +-----------------------------+--------------------------------------+
   |                         Time|root.happy.device1.sensor1.temperature|
   +-----------------------------+--------------------------------------+
   |1970-01-01T08:00:07.925+08:00|                                   NaN|
   +-----------------------------+--------------------------------------+
   IoTDB> flush
   IoTDB> select * from root
   +-----------------------------+--------------------------------------+
   |                         Time|root.happy.device1.sensor1.temperature|
   +-----------------------------+--------------------------------------+
   |1970-01-01T08:00:07.925+08:00|                                   0.0|
   +-----------------------------+--------------------------------------+
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message