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] [Assigned] (IOTDB-5947) Optimize the AlignedTVList column check logic when insert

     [ https://issues.apache.org/jira/browse/IOTDB-5947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Haonan Hou reassigned IOTDB-5947:
---------------------------------

    Assignee: Haonan Hou

> 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
>            Assignee: Haonan Hou
>            Priority: Major
>             Fix For: 1.2.0
>
>
> 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)