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 03:20:06 UTC

[iotdb] branch master updated: [IOTDB-5487] Fix the problem that the timestamp is "null" when using jdbc (#8998)

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

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


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

commit a9c8c9816eb87027edda175b58efe4ae5bd088e4
Author: 任宇华 <79...@users.noreply.github.com>
AuthorDate: Tue Mar 7 11:19:59 2023 +0800

    [IOTDB-5487] Fix the problem that the timestamp is "null" when using jdbc (#8998)
---
 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..bff75a2652 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
@@ -271,6 +271,7 @@ public class IoTDBRpcDataSet {
 
   public boolean next() throws StatementExecutionException, IoTDBConnectionException {
     if (hasCachedBlock()) {
+      lastReadWasNull = false;
       constructOneRow();
       return true;
     }