Fix agg reserved buf len for extend type
This commit is contained in:
@ -145,7 +145,7 @@ static int32_t reserved_agg_col_size(RuntimeContext &agg_ctx, int64_t agg_col_id
|
||||
RTSIZE(VEC_TC_DATE), // date
|
||||
RTSIZE(VEC_TC_TIME), // time
|
||||
RTSIZE(VEC_TC_YEAR), // year
|
||||
0, // extend
|
||||
string_reserved_size, // extend
|
||||
0, // unknown
|
||||
string_reserved_size, // string
|
||||
RTSIZE(VEC_TC_BIT), // bit
|
||||
|
||||
@ -875,7 +875,8 @@ inline constexpr bool is_var_len_agg_cell(VecValueTypeClass vec_tc)
|
||||
|| vec_tc == VEC_TC_JSON
|
||||
|| vec_tc == VEC_TC_GEO
|
||||
|| vec_tc == VEC_TC_UDT
|
||||
|| vec_tc == VEC_TC_ROARINGBITMAP;
|
||||
|| vec_tc == VEC_TC_ROARINGBITMAP
|
||||
|| vec_tc == VEC_TC_EXTEND;
|
||||
}
|
||||
|
||||
template <typename AggType>
|
||||
|
||||
Reference in New Issue
Block a user