This is an automated email from the ASF dual-hosted git repository. shuwenwei pushed a commit to branch updateTsFileVersion260130-1.3 in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 278e9366d47bb462a76e7ef14c91af351ad44fee 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 441b3afbbcb..f7993c6100c 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..3f46fee406c 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.2-260129-SNAPSHOT</tsfile.version> </properties> <!-- if we claim dependencies in dependencyManagement, then we do not claim
