The return value of the last point query in Apache IoTDB

Viewed 23

Regardless of the value type, the return value of last point query in IoTDB is string. How can I get the value type of the return value?

1 Answers

Version 0.12.1 and earlier, the latest point query returns 3 columns, and the latest values of all sequences are placed in the value column. Therefore, TEXT type storage is used.

In order to distinguish specific data types, since version 0.12.2, the dataType column has been added, which can be used to parse the string of value

Related