[FEAT MERGE] Add roaringbitmap type and relative expr
Co-authored-by: fkuner <784819644@qq.com>
This commit is contained in:
@ -154,6 +154,7 @@ static int32_t reserved_agg_col_size(RuntimeContext &agg_ctx, int64_t agg_col_id
|
||||
RTSIZE(VEC_TC_DEC_INT256), // dec_int256
|
||||
RTSIZE(VEC_TC_DEC_INT512), // dec_int512
|
||||
string_reserved_size, // collection
|
||||
string_reserved_size, // roaringbitmap
|
||||
};
|
||||
static_assert(sizeof(reserved_sizes) / sizeof(reserved_sizes[0]) == MAX_VEC_TC, "");
|
||||
OB_ASSERT(aggr_info.expr_ != NULL);
|
||||
|
||||
@ -848,7 +848,8 @@ inline constexpr bool is_var_len_agg_cell(VecValueTypeClass vec_tc)
|
||||
|| vec_tc == VEC_TC_RAW
|
||||
|| vec_tc == VEC_TC_JSON
|
||||
|| vec_tc == VEC_TC_GEO
|
||||
|| vec_tc == VEC_TC_UDT;
|
||||
|| vec_tc == VEC_TC_UDT
|
||||
|| vec_tc == VEC_TC_ROARINGBITMAP;
|
||||
}
|
||||
|
||||
template <typename AggType>
|
||||
|
||||
@ -615,7 +615,8 @@ inline bool supported_aggregate_function(const ObItemType agg_op)
|
||||
VEC_TC_DEC_INT64, \
|
||||
VEC_TC_DEC_INT128, \
|
||||
VEC_TC_DEC_INT256, \
|
||||
VEC_TC_DEC_INT512
|
||||
VEC_TC_DEC_INT512, \
|
||||
VEC_TC_ROARINGBITMAP
|
||||
|
||||
} // end namespace aggregate
|
||||
} // end namespace share
|
||||
|
||||
Reference in New Issue
Block a user