This is an automated email from the ASF dual-hosted git repository. panxiaolei pushed a commit to branch cp_0114_9 in repository https://gitbox.apache.org/repos/asf/doris.git
commit 975efa395325cb161aa5239c571748bb805ee05f Author: BiteTheDDDDt <pxl...@qq.com> AuthorDate: Tue Jan 14 13:08:42 2025 +0800 fix core dump on rf between varchar and char --- be/src/exprs/create_predicate_function.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/be/src/exprs/create_predicate_function.h b/be/src/exprs/create_predicate_function.h index a96565b55db..596608e9e82 100644 --- a/be/src/exprs/create_predicate_function.h +++ b/be/src/exprs/create_predicate_function.h @@ -233,7 +233,8 @@ ColumnPredicate* create_olap_column_predicate(uint32_t column_id, std::shared_ptr<BloomFilterFuncBase> filter_olap; filter_olap.reset(create_bloom_filter(PT)); filter_olap->light_copy(filter.get()); - return new BloomFilterColumnPredicate<PT>(column_id, filter, be_exec_version); + // create a new filter to match the input filter and PT. For example, filter may be varchar, but PT is char + return new BloomFilterColumnPredicate<PT>(column_id, filter_olap, be_exec_version); } template <PrimitiveType PT> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org