Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions be/src/runtime/primitive_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ struct PrimitiveTypeTraits;
template <>
struct PrimitiveTypeTraits<TYPE_BOOLEAN> {
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;
Expand Down
2 changes: 1 addition & 1 deletion be/src/runtime_filter/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace doris {

template <typename T>
auto get_convertor() {
if constexpr (std::is_same_v<T, bool>) {
if constexpr (std::is_same_v<T, bool> || std::is_same_v<T, uint8_t>) {
return [](PColumnValue* value, const T& data) { value->set_boolval(data); };
} else if constexpr (std::is_same_v<T, int8_t> || std::is_same_v<T, int16_t> ||
std::is_same_v<T, int32_t> || std::is_same_v<T, uint32_t> ||
Expand Down