You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hu...@apache.org on 2022/05/31 01:10:54 UTC

[iotdb] branch master updated: [IOTDB-3339] Fix index out of bound while doing raw query (#6079)

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

hui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new b343478a41 [IOTDB-3339] Fix index out of bound while doing raw query (#6079)
b343478a41 is described below

commit b343478a41be9f9f4dbc48d05ce41c3c6849b866
Author: Jackie Tien <ja...@gmail.com>
AuthorDate: Tue May 31 09:10:50 2022 +0800

    [IOTDB-3339] Fix index out of bound while doing raw query (#6079)
---
 .../db/mpp/execution/operator/process/merge/SingleColumnMerger.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/mpp/execution/operator/process/merge/SingleColumnMerger.java b/server/src/main/java/org/apache/iotdb/db/mpp/execution/operator/process/merge/SingleColumnMerger.java
index eb4743a036..f621f59d99 100644
--- a/server/src/main/java/org/apache/iotdb/db/mpp/execution/operator/process/merge/SingleColumnMerger.java
+++ b/server/src/main/java/org/apache/iotdb/db/mpp/execution/operator/process/merge/SingleColumnMerger.java
@@ -106,8 +106,8 @@ public class SingleColumnMerger implements ColumnMerger {
           columnBuilder.appendNull();
         }
       }
-      // update the index after merging
-      updatedInputIndex[tsBlockIndex] = index;
     }
+    // update the index after merging
+    updatedInputIndex[tsBlockIndex] = index;
   }
 }