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

jackietien 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 08611626578 [to dev/1.3] TimeFilter.canSkip() use getStatistics() 
method (#17120)
08611626578 is described below

commit 08611626578559b4831f05dc5ef7b89f2d49f6b2
Author: shuwenwei <[email protected]>
AuthorDate: Fri Jan 30 14:00:57 2026 +0800

    [to dev/1.3] TimeFilter.canSkip() use getStatistics() method (#17120)
---
 .../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 441b3afbbcb..ddb298da4f5 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
@@ -1226,4 +1226,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 3cc3e73a774..aa4e7ab2e42 100644
--- a/pom.xml
+++ b/pom.xml
@@ -175,7 +175,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>1.1.3-251212-SNAPSHOT</tsfile.version>
+        <tsfile.version>1.1.4-260130-SNAPSHOT</tsfile.version>
     </properties>
     <!--
     if we claim dependencies in dependencyManagement, then we do not claim

Reply via email to