diff --git a/be/src/runtime/primitive_type.h b/be/src/runtime/primitive_type.h index c503721cfe0e30..ccd44b21d92199 100644 --- a/be/src/runtime/primitive_type.h +++ b/be/src/runtime/primitive_type.h @@ -274,8 +274,8 @@ struct PrimitiveTypeTraits; template <> struct PrimitiveTypeTraits { using CppType = bool; - using StorageFieldType = CppType; - using CppNativeType = bool; + using StorageFieldType = vectorized::UInt8; + using CppNativeType = vectorized::UInt8; using ColumnItemType = vectorized::UInt8; using DataType = vectorized::DataTypeBool; using ColumnType = vectorized::ColumnUInt8; diff --git a/be/src/runtime_filter/utils.h b/be/src/runtime_filter/utils.h index ad882d1235e270..f30d984da44ab1 100644 --- a/be/src/runtime_filter/utils.h +++ b/be/src/runtime_filter/utils.h @@ -35,7 +35,7 @@ namespace doris { template auto get_convertor() { - if constexpr (std::is_same_v) { + if constexpr (std::is_same_v || std::is_same_v) { return [](PColumnValue* value, const T& data) { value->set_boolval(data); }; } else if constexpr (std::is_same_v || std::is_same_v || std::is_same_v || std::is_same_v ||