v.20.11Bug Fix

Fixed Group By Optimization with Joins in ClickHouse

Fixed optimization of group by with enabled setting optimize_aggregators_of_group_by_keys and joins. This fixes #12604. #16951 (Anton Popov).