Ask Your Question
4

What is the procedure for manually converting unordered data into a sequential structure in Apache IoTDB?

asked 2022-12-14 11:00:00 +0000

devzero gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2022-12-09 16:00:00 +0000

ladyg gravatar image

The procedure for manually converting unordered data into a sequential structure in Apache IoTDB includes the following steps:

  1. Create a new time series in the destination storage group using the CREATE TIMESERIES statement.
  2. Insert the unordered data into the new time series using the INSERT statement, specifying the timestamp and value for each data point.
  3. Optionally, insert any missing data points that were not present in the unordered data using the FILL function.
  4. Repeat steps 1-3 for each time series that needs to be converted.

Alternatively, Apache IoTDB provides the merge statement, which allows users to merge multiple existing unordered time series into a newly created sequential time series in a destination storage group. This can be done by specifying the source time series and the overlapping time range in the MERGE statement.

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: 2022-12-14 11:00:00 +0000

Seen: 19 times

Last updated: Dec 09 '22