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

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


The following commit(s) were added to refs/heads/query_v3_py by this push:
     new cde329bf1ae fix IT
cde329bf1ae is described below

commit cde329bf1ae9743d38db8707254a24d09132908b
Author: HTHou <[email protected]>
AuthorDate: Tue Mar 25 17:37:57 2025 +0800

    fix IT
---
 iotdb-client/client-py/iotdb/utils/iotdb_rpc_dataset.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iotdb-client/client-py/iotdb/utils/iotdb_rpc_dataset.py 
b/iotdb-client/client-py/iotdb/utils/iotdb_rpc_dataset.py
index edbdd28b825..10b81e1862f 100644
--- a/iotdb-client/client-py/iotdb/utils/iotdb_rpc_dataset.py
+++ b/iotdb-client/client-py/iotdb/utils/iotdb_rpc_dataset.py
@@ -188,7 +188,7 @@ class IoTDBRpcDataSet(object):
                         indexes = [not v for v in null_indicator]
                         if data_type == 0:
                             tmp_array[indexes] = column_array[indexes]
-                        else:
+                        elif len(column_array) != 0:
                             tmp_array[indexes] = column_array
 
                     # INT32, DATE
@@ -311,7 +311,7 @@ class IoTDBRpcDataSet(object):
                         indexes = [not v for v in null_indicator]
                         if data_type == 0:
                             tmp_array[indexes] = data_array[indexes]
-                        else:
+                        elif len(data_array) != 0:
                             tmp_array[indexes] = data_array
 
                     if data_type == 1:

Reply via email to