v.22.10Bug Fix
Fix ORDER BY and GROUP BY Queries with Monotonic Functions in ClickHouse
Fix wrong result of queries withORDER BYorGROUP BYby columns from prefix of sorting key, wrapped into monotonic functions, with enable "read in order" optimization (settingsoptimize_read_in_orderandoptimize_aggregation_in_order). #41701 (Anton Popov).