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

lihaopeng pushed a commit to branch tmp_tpc_preview4-mysk
in repository https://gitbox.apache.org/repos/asf/doris.git

commit c6d0cf5fb3f31f299b6ea501c12da88650db9ded
Author: happenlee <[email protected]>
AuthorDate: Fri Feb 6 03:10:25 2026 +0800

    fix new store in char
---
 be/src/vec/olap/olap_data_convertor.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/be/src/vec/olap/olap_data_convertor.cpp 
b/be/src/vec/olap/olap_data_convertor.cpp
index 5bcfae7ea43..7c255d6b5c8 100644
--- a/be/src/vec/olap/olap_data_convertor.cpp
+++ b/be/src/vec/olap/olap_data_convertor.cpp
@@ -548,6 +548,9 @@ Status 
OlapBlockDataConvertor::OlapColumnDataConvertorChar::convert_to_olap() {
             DCHECK(_slice[i].size == _length)
                     << "char type data length not equal to schema, schema=" << 
_length
                     << ", real=" << _slice[i].size;
+        } else {
+            _slice[i].data = nullptr;
+            _slice[i].size = 0;
         }
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to