Improved memory tracking for hash joins during result generation to prevent untracked temporary allocations.
Why it matters
Previously, temporary memory allocations made while generating hash join results were not properly tracked, leading to potential memory limit overruns. This improvement ensures accurate memory usage accounting, helping to maintain memory limits and avoid unexpected resource exhaustion.How to use it
This improvement is applied internally within ClickHouse and requires no user intervention. Memory tracking for hash joins now accurately includes temporary allocations automatically after the update.