'How to save string type fields in Apache IoTDB?

I save the raw value 35705231438 into the Apache IoTDB, and I specify the TSDataType is TEXT. However, when I query the value, it shows 3.5705231438E10. This is the picture corresponding to the type and value. enter image description here enter image description here However, when I make the 35705231438 into smaller 3570523, it is ok. When I save 3570523 into the same device, it will fail.The error message is caused by DataType mismatch, Insert measurement sn type TEXT, metadata tree type DOUBLE;. How can I do it? Apache IoTDB version: 0.13



Solution 1:[1]

It should be that the type does not correspond. Do you write data in session? If it is text type, use double quotation marks. It is better not to use pure numbers for each layer of the path.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Genna Rotelli