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

[iotdb] branch rel/1.1 updated: [To rel/1.1] [IOTDB-5487] Fix the problem that the timestamp is "null" when using jdbc(#9234)

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

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


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

commit 9f768d9b8b22fa2037b0e0244a8617acb13e9ee9
Author: 任宇华 <79...@users.noreply.github.com>
AuthorDate: Tue Mar 7 19:20:28 2023 +0800

     [To rel/1.1] [IOTDB-5487] Fix the problem that the timestamp is "null" when using jdbc(#9234)
    
     [To rel/1.1] [IOTDB-5487] Fix the problem that the timestamp is "null" when using jdbc(#9234)
---
 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()) {