This is an automated email from the ASF dual-hosted git repository. JackieTien97 pushed a commit to branch rc/1.3.7-xyzc in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 341b2ca752c190650d3275cae99d54fe13ade0e0 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 94596a5657b..704c2d1c460 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</tsfile.version> + <tsfile.version>1.1.4-260130-SNAPSHOT</tsfile.version> </properties> <!-- if we claim dependencies in dependencyManagement, then we do not claim
