diff --git a/be/src/olap/bloom_filter_predicate.h b/be/src/olap/bloom_filter_predicate.h index 23a2e4a473..c25258f55a 100644 --- a/be/src/olap/bloom_filter_predicate.h +++ b/be/src/olap/bloom_filter_predicate.h @@ -89,7 +89,8 @@ private: } else { uint24_t tmp_uint24_value; auto get_column_data = [](const vectorized::IColumn& column) { - if constexpr (std::is_same_v) { + if constexpr (std::is_same_v && + T == PrimitiveType::TYPE_DATE) { return reinterpret_cast*>( &column) ->get_data()