This is an automated email from the ASF dual-hosted git repository.
justinchen pushed a commit to branch session-last-bug
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/session-last-bug by this push:
new 5b65f8d8ee1 fix
5b65f8d8ee1 is described below
commit 5b65f8d8ee1ec9bf87c56e0c8ecbeab5e648792e
Author: Caideyipi <[email protected]>
AuthorDate: Mon Mar 30 12:22:06 2026 +0800
fix
---
.../session/src/main/java/org/apache/iotdb/session/Session.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java
b/iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java
index 63825299407..c38bff5e9d4 100644
--- a/iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java
+++ b/iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java
@@ -1162,8 +1162,7 @@ public class Session implements ISession {
@Override
public SessionDataSet executeLastDataQuery(List<String> paths)
throws StatementExecutionException, IoTDBConnectionException {
- long time = 0L;
- return executeLastDataQuery(paths, time, queryTimeoutInMs);
+ return executeLastDataQuery(paths, Long.MIN_VALUE, queryTimeoutInMs);
}
@Override