You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by wmx <wa...@163.com> on 2019/07/16 12:59:30 UTC

add micro and nano precision timestamp

Hi,

The issue[1] describes the timestamp precision limitation of IoTDB. 

Iotdb only support timestamp in milliseconds. Therefore, I add two finer precision: us and ns. 

- How to configure?
Before server started, user need to set timestamp property in file iotdb-engine.properties in incubator-iotdb/iotdb/conf.  Once a precision is used, it can not be changed.

- What will be influenced?
(1) While inserting data, timestamp in date format ("2019-07-16 20:27:13.123456" or "2019-07-16 20:27:13.123456789") will be parsed according to the precision.
(2) When print the result in the Cli, the timestamp in long format will be parsed to date format according to the precision.

[1] https://issues.apache.org/jira/projects/IOTDB/issues/IOTDB-137

Best,

Muxian Wang

发送自 Windows 10 版邮件应用