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).
Adjust the prefix size of AggregateFunctionDistinct to ensure proper memory alignment for nested function data segments.

Why it matters

This change resolves memory alignment issues in AggregateFunctionDistinct when handling nested aggregate functions, improving stability and performance by ensuring that memory segments are correctly aligned.

How to use it

Users benefit from this improvement automatically after updating to the ClickHouse version containing this fix. No additional configuration is needed.