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

jackietien 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 48ac5db7593 TimeFilter.canSkip() use getStatistics() method (#17119)
48ac5db7593 is described below

commit 48ac5db7593fb84d3becd06b59d0d77e5e169201
Author: shuwenwei <[email protected]>
AuthorDate: Fri Jan 30 14:00:44 2026 +0800

    TimeFilter.canSkip() use getStatistics() method (#17119)
---
 .../java/org/apache/iotdb/db/it/IoTDBSimpleQueryIT.java   | 15 +++++++++++++++
 pom.xml                                                   |  2 +-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git 
a/integration-test/src/test/java/org/apache/iotdb/db/it/IoTDBSimpleQueryIT.java 
b/integration-test/src/test/java/org/apache/iotdb/db/it/IoTDBSimpleQueryIT.java
index c56c0077f29..9cdd1cc3ce9 100644
--- 
a/integration-test/src/test/java/org/apache/iotdb/db/it/IoTDBSimpleQueryIT.java
+++ 
b/integration-test/src/test/java/org/apache/iotdb/db/it/IoTDBSimpleQueryIT.java
@@ -1224,4 +1224,19 @@ public class IoTDBSimpleQueryIT {
       fail();
     }
   }
+
+  @Test
+  public void testQueryWithGlobalTimeFilterOrderByTimeDesc() throws 
SQLException {
+    try (Connection connection = EnvFactory.getEnv().getConnection();
+        Statement statement = connection.createStatement()) {
+      statement.execute("insert into root.sg1.d1(timestamp, s1, s2) aligned 
values(1, 1, 1)");
+      statement.execute("insert into root.sg1.d1(timestamp, s1, s2) aligned 
values(2, null, 2)");
+      statement.execute("insert into root.sg1.d1(timestamp, s1, s2) aligned 
values(3, null, 3)");
+      statement.execute("flush");
+      ResultSet resultSet =
+          statement.executeQuery(
+              "select s1 from root.sg1.d1 where time >= 3 and time <= 4 order 
by time desc");
+      Assert.assertFalse(resultSet.next());
+    }
+  }
 }
diff --git a/pom.xml b/pom.xml
index f1e7ed96514..3b2133c0334 100644
--- a/pom.xml
+++ b/pom.xml
@@ -173,7 +173,7 @@
         <thrift.version>0.14.1</thrift.version>
         <xz.version>1.9</xz.version>
         <zstd-jni.version>1.5.6-3</zstd-jni.version>
-        <tsfile.version>2.2.1-260129-SNAPSHOT</tsfile.version>
+        <tsfile.version>2.2.1-260130-SNAPSHOT</tsfile.version>
     </properties>
     <!--
     if we claim dependencies in dependencyManagement, then we do not claim

Reply via email to