v.20.3Bug Fix
Fix Predicate Optimization for HAVING in Distributed Queries
Fix predicates optimization for distributed queries (enable_optimize_predicate_expression=1) for queries withHAVINGsection (i.e. when filtering on the server initiator is required), by preserving the order of expressions (and this is enough to fix), and also force aggregator use column names over indexes. Fixes: #10613, #11413. #10621 (Azat Khuzhin).