You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by li...@apache.org on 2026/02/09 07:46:01 UTC
(doris) 01/02: fix new store in char
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 <ha...@selectdb.com>
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: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org