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

colinlee pushed a commit to branch colin_support_read_tree
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 3770ba43e6c6769828646540167d2693486346d0
Author: ColinLee <[email protected]>
AuthorDate: Mon Dec 1 10:17:35 2025 +0800

    fix print text.
---
 python/tsfile/tsfile_reader.pyx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/tsfile/tsfile_reader.pyx b/python/tsfile/tsfile_reader.pyx
index eef0add8..6cc6b004 100644
--- a/python/tsfile/tsfile_reader.pyx
+++ b/python/tsfile/tsfile_reader.pyx
@@ -172,7 +172,7 @@ cdef class ResultSetPy:
             return tsfile_result_set_get_value_by_index_double(self.result, 
index)
         elif data_type == TSDataTypePy.BOOLEAN:
             return tsfile_result_set_get_value_by_index_bool(self.result, 
index)
-        elif data_type == TSDataTypePy.STRING:
+        elif data_type == TSDataTypePy.STRING or data_type == 
TSDataTypePy.TEXT:
             try:
                 string = 
tsfile_result_set_get_value_by_index_string(self.result, index)
                 py_str = string.decode('utf-8')

Reply via email to