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/12/09 13:10:03 UTC

[doris] branch master updated: [Bug](predicate) fix undefined behavior on in list predicate #14961

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 4c27ee2584 [Bug](predicate) fix undefined behavior on in list predicate #14961
4c27ee2584 is described below

commit 4c27ee258444414e17f09d25b70fdd3d566406d1
Author: Pxl <px...@qq.com>
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: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org