[FEAT MERGE] Add roaringbitmap type and relative expr

Co-authored-by: fkuner <784819644@qq.com>
This commit is contained in:
qijiax
2024-06-21 09:46:20 +00:00
committed by ob-robot
parent 3723b0f580
commit 3bfa3e2070
149 changed files with 7389 additions and 222 deletions

View File

@ -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);

View File

@ -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>

View File

@ -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