This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch branch-1.2-lts in repository https://gitbox.apache.org/repos/asf/doris.git
commit 1fd9e552c97f6e450a76ff6a8f2514656ad74b04 Author: Pxl <[email protected]> AuthorDate: Fri Dec 9 21:09:54 2022 +0800 [Bug](predicate) fix undefined behavior on in list predicate #14961 --- be/src/olap/in_list_predicate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/be/src/olap/in_list_predicate.h b/be/src/olap/in_list_predicate.h index d1c0d2327a..eed5260a6a 100644 --- a/be/src/olap/in_list_predicate.h +++ b/be/src/olap/in_list_predicate.h @@ -114,7 +114,8 @@ public: : ColumnPredicate(column_id, false), _min_value(type_limit<T>::max()), _max_value(type_limit<T>::min()) { - using HybridSetType = std::conditional_t<is_string_type(Type), StringSet, HybridSet<Type>>; + using HybridSetType = + std::conditional_t<is_string_type(Type), StringSet, HybridSet<Type, true>>; CHECK(hybrid_set != nullptr); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
