Ask Your Question
2

What is the method for retrieving complete data in Apache IoTDB in the form of decimal numbers with six digits?

asked 2023-06-26 01:51:23 +0000

scrum gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-06-26 01:56:02 +0000

djk gravatar image

To retrieve complete data in Apache IoTDB in the form of decimal numbers with six digits, you can use the following SQL query:

SELECT CAST(value AS FLOAT(6)) FROM measurement_name

This SQL query will cast the value column as a float with 6 digits and retrieve the complete data from the specified measurement. You can replace "measurement_name" with the name of the measurement you want to retrieve data from.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-26 01:51:23 +0000

Seen: 7 times

Last updated: Jun 26 '23