v.22.8Improvement
Change prefix size of AggregateFunctionDistinct for memory alignment
Change the prefix size of AggregateFunctionDistinct to make sure nested function data memory segment is aligned. #39696 (Pxl).
Why it matters
This change resolves memory alignment issues inAggregateFunctionDistinct when handling nested aggregate functions, improving stability and performance by ensuring that memory segments are correctly aligned.