Home > database >  The decimal places of the query result are rounded automatically in Apache IoTDB
The decimal places of the query result are rounded automatically in Apache IoTDB

Time:10-15

The query result is rounded to 2 decimal places in the select statement. But I want to keep the original precision. What should I do?

Timseries Information: Timseries Information

Query Result: Query Result

CodePudding user response:

Edit the configration in iotdb-engine.properties:

float_precision=6

You should uncomment this line and restart the IoTDB instance.

  • Related