Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1672

Separate AlignedInsertPlan from current InsertPlan

    XMLWordPrintableJSON

Details

    • 2021-10-DragonGate

    Description

      IoTDB support timeseries and aligned timeseries, in other words, unary measurement and vector measurement.

      Currently, the insert plans of these two types of timeseries is distinguished by a "boolean isAligned" field and share the same interface and code. Thus the related code will be confusing and difficult to understand.

      For example. While MManager is processing the InsertPlan, the path and measurement list provided by the plan represent different meaning.

      1. While process unary measurement, the prefix path means the entity path and the measurement list represents different measurement of target timeseries.
      2. While process vector measurement, the prefix path represents the aligned timeseries path and the measurement list represents the sub measurement of target aligned timeseries. 

       

      Thus, it's better to process aligned timeseries insert plan individually and the code will be more understandable.

      Attachments

        Activity

          People

            SilverNarcissus Kaifeng Xue
            Marcoss Yukun Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 32h
                32h
                Remaining:
                Remaining Estimate - 32h
                32h
                Logged:
                Time Spent - Not Specified
                Not Specified