You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ne...@apache.org on 2023/03/07 07:44:34 UTC

[iotdb] branch rel/1.0 updated: [To rel/1.0] [IOTDB-5487] Fix the problem that the timestamp is "null" when using jdbc

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

neuyilan pushed a commit to branch rel/1.0
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/1.0 by this push:
     new ef304c085e [To rel/1.0] [IOTDB-5487] Fix the problem that the timestamp is "null" when using jdbc
ef304c085e is described below

commit ef304c085e4e60f7680be921447f966fa9a7efb3
Author: 任宇华 <79...@users.noreply.github.com>
AuthorDate: Tue Mar 7 15:44:28 2023 +0800

    [To rel/1.0] [IOTDB-5487] Fix the problem that the timestamp is "null" when using jdbc
---
 service-rpc/src/main/java/org/apache/iotdb/rpc/IoTDBRpcDataSet.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/service-rpc/src/main/java/org/apache/iotdb/rpc/IoTDBRpcDataSet.java b/service-rpc/src/main/java/org/apache/iotdb/rpc/IoTDBRpcDataSet.java
index 58a32f5e95..49711ab559 100644
--- a/service-rpc/src/main/java/org/apache/iotdb/rpc/IoTDBRpcDataSet.java
+++ b/service-rpc/src/main/java/org/apache/iotdb/rpc/IoTDBRpcDataSet.java
@@ -272,6 +272,7 @@ public class IoTDBRpcDataSet {
   public boolean next() throws StatementExecutionException, IoTDBConnectionException {
     if (hasCachedBlock()) {
       constructOneRow();
+      lastReadWasNull = false;
       return true;
     }
     if (hasCachedByteBuffer()) {