You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2025/11/11 01:39:56 UTC

(iotdb) branch dev/1.3 updated: Fixed unprocessed column writes in Last Cache update (#16728)

This is an automated email from the ASF dual-hosted git repository.

jiangtian pushed a commit to branch dev/1.3
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/dev/1.3 by this push:
     new d890918e430 Fixed unprocessed column writes in Last Cache update (#16728)
d890918e430 is described below

commit d890918e430f9591119eab2471fb921d834ac275
Author: Zhenyu Luo <zh...@apache.org>
AuthorDate: Tue Nov 11 09:39:51 2025 +0800

    Fixed unprocessed column writes in Last Cache update (#16728)
---
 .../db/queryengine/plan/planner/plan/node/write/InsertTabletNode.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/InsertTabletNode.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/InsertTabletNode.java
index eb5015a93f4..a366aed71b3 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/InsertTabletNode.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/InsertTabletNode.java
@@ -1077,7 +1077,7 @@ public class InsertTabletNode extends InsertNode implements WALEntryValue {
   }
 
   public TimeValuePair composeLastTimeValuePair(int measurementIndex) {
-    if (measurementIndex >= columns.length) {
+    if (measurementIndex >= columns.length || Objects.isNull(dataTypes[measurementIndex])) {
       return null;
     }