v.20.1Bug Fix
Fix Optimization of Predicates for Distributed Queries with HAVING Clause
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).