You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Haonan Hou (Jira)" <ji...@apache.org> on 2023/05/31 03:33:00 UTC
[jira] [Created] (IOTDB-5947) Optimize the AlignedTVList column check logic when insert
Haonan Hou created IOTDB-5947:
---------------------------------
Summary: Optimize the AlignedTVList column check logic when insert
Key: IOTDB-5947
URL: https://issues.apache.org/jira/browse/IOTDB-5947
Project: Apache IoTDB
Issue Type: Improvement
Reporter: Haonan Hou
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)