This is an automated email from the ASF dual-hosted git repository. shuwenwei pushed a commit to branch updateTsFileVersion260130 in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 4f7972e8bb7ae8e37b6c984ad04bc7f7907e078c Author: shuwenwei <[email protected]> AuthorDate: Fri Jan 30 10:36:21 2026 +0800 update tsfile version --- .../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..8610945f91f 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 a86b5cfc062..7d21ec7692b 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
