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

Optimize the AlignedTVList column check logic when insert

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • None
    • None

    Description

      Currently, one insert will calculate an int array to record index information of AlignedTVList and values in InsertPlan. This calculation will traverse the measurement list twice.

      However, this logic can be simplified by traverse only once. We can just use a new values Object array, move the origin values to this new array which matches the order of the AlignedList, and then insert the new values into TVList.

      Attachments

        Activity

          People

            haonan Haonan Hou
            haonan Haonan Hou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: