Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.