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

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


The following commit(s) were added to refs/heads/query_v2_py by this push:
     new 7d86e987c7c fix dup column
7d86e987c7c is described below

commit 7d86e987c7c7d95e600bda90a90e2670d65439bd
Author: HTHou <[email protected]>
AuthorDate: Fri Mar 21 00:00:51 2025 +0800

    fix dup column
---
 iotdb-client/client-py/iotdb/utils/IoTDBRpcDataSet.py | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/iotdb-client/client-py/iotdb/utils/IoTDBRpcDataSet.py 
b/iotdb-client/client-py/iotdb/utils/IoTDBRpcDataSet.py
index d91d0b4d7a3..250f7e999ec 100644
--- a/iotdb-client/client-py/iotdb/utils/IoTDBRpcDataSet.py
+++ b/iotdb-client/client-py/iotdb/utils/IoTDBRpcDataSet.py
@@ -171,13 +171,7 @@ class IoTDBRpcDataSet(object):
             time_array = 
time_array.byteswap().view(time_array.dtype.newbyteorder("<"))
         result[0] = time_array
         total_length = len(time_array)
-        for i in range(self.column_size):
-            if self.ignore_timestamp is True:
-                column_name = self.__column_name_list[i]
-            else:
-                column_name = self.__column_name_list[i + 1]
-
-            location = 
self.column_name_2_tsblock_column_index_dict[column_name]
+        for i, location in 
enumerate(self.__column_index_2_tsblock_column_index_list):
             if location < 0:
                 continue
             data_type = self.__data_type_for_tsblock_column[location]

Reply via email to