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

yongzao pushed a commit to branch debug-iotdb-tree-model-dataset
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/debug-iotdb-tree-model-dataset 
by this push:
     new 724dae53b00 Update iotdb.py
724dae53b00 is described below

commit 724dae53b008702e9ea9f44a9e1645eed6bc0476
Author: Yongzao <[email protected]>
AuthorDate: Mon Jun 23 10:10:09 2025 +0800

    Update iotdb.py
---
 iotdb-core/ainode/ainode/core/ingress/iotdb.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/iotdb-core/ainode/ainode/core/ingress/iotdb.py 
b/iotdb-core/ainode/ainode/core/ingress/iotdb.py
index d5e5d59faef..d833c8746e0 100644
--- a/iotdb-core/ainode/ainode/core/ingress/iotdb.py
+++ b/iotdb-core/ainode/ainode/core/ingress/iotdb.py
@@ -154,9 +154,6 @@ class IoTDBTreeModelDataset(BasicDatabaseForecastDataset):
         # locate the window of this series to be queried
         if series_index != 0:
             window_index -= self.sorted_series[series_index - 1][2]
-        # TODO: why should we minus 1 here? maybe it is some bug
-        if window_index != 0:
-            window_index -= 1
         series = self.sorted_series[series_index][0]
         time_condition = self.sorted_series[series_index][3]
         if self.cache_enable:

Reply via email to