You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by le...@apache.org on 2023/02/03 15:50:40 UTC

[iotdb] 20/28: fix bug

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

leirui pushed a commit to branch research/M4-visualization
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 455423792415dffbafe4d36347e1c1f08458ad73
Author: Lei Rui <10...@qq.com>
AuthorDate: Sat Jan 28 15:57:50 2023 +0800

    fix bug
---
 .../iotdb/db/query/dataset/groupby/LocalGroupByExecutor4CPV.java      | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/query/dataset/groupby/LocalGroupByExecutor4CPV.java b/server/src/main/java/org/apache/iotdb/db/query/dataset/groupby/LocalGroupByExecutor4CPV.java
index 1dce4eb0f3..d961bbf02a 100644
--- a/server/src/main/java/org/apache/iotdb/db/query/dataset/groupby/LocalGroupByExecutor4CPV.java
+++ b/server/src/main/java/org/apache/iotdb/db/query/dataset/groupby/LocalGroupByExecutor4CPV.java
@@ -815,7 +815,9 @@ public class LocalGroupByExecutor4CPV implements GroupByExecutor {
             currentChunkList.remove(susp_candidate);
           } else {
             susp_candidate.setLazyLoad(true);
-            susp_candidate.getChunkMetadata().getStatistics().setEndTime(deleteStartTime - 1);
+            // TODO NOTE here get statistics from ChunkSuit4CPV, not from
+            // ChunkSuit4CPV.ChunkMetadata
+            susp_candidate.getStatistics().setEndTime(deleteStartTime - 1);
             // -1 is because delete is closed interval
             // TODO check
           }