You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2022/07/28 06:08:29 UTC

[doris] branch master updated: [Fix] Coredump in column dictionary insert data from DefaultValueColumnIterator (#11217)

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

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 6ffdd0cbdd [Fix] Coredump in column dictionary insert data from DefaultValueColumnIterator (#11217)
6ffdd0cbdd is described below

commit 6ffdd0cbdd9932a5a22e6c677c318a29c57f9963
Author: HappenLee <ha...@hotmail.com>
AuthorDate: Thu Jul 28 14:08:24 2022 +0800

    [Fix] Coredump in column dictionary insert data from DefaultValueColumnIterator (#11217)
    
    Co-authored-by: lihaopeng <li...@baidu.com>
---
 be/src/olap/rowset/segment_v2/column_reader.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/be/src/olap/rowset/segment_v2/column_reader.cpp b/be/src/olap/rowset/segment_v2/column_reader.cpp
index 71bd41f09f..f2937e34ea 100644
--- a/be/src/olap/rowset/segment_v2/column_reader.cpp
+++ b/be/src/olap/rowset/segment_v2/column_reader.cpp
@@ -938,6 +938,7 @@ void DefaultValueColumnIterator::insert_default_data(const TypeInfo* type_info,
     vectorized::Int128 int128;
     char* data_ptr = (char*)&int128;
     size_t data_len = sizeof(int128);
+    dst = dst->convert_to_predicate_column_if_dictionary();
 
     switch (type_info->type()) {
     case OLAP_FIELD_TYPE_OBJECT:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org