These settings are available in system.settings and are autogenerated from the ClickHouse snapshot.
optimize_injective_functions_in_group_by
Replaces injective functions by it’s arguments in GROUP BY section
optimize_injective_functions_in_limit_by
Replaces injective functions by their arguments in LIMIT BY section.
Example: LIMIT 5 BY toString(x) becomes LIMIT 5 BY x.
optimize_injective_functions_inside_uniq
Delete injective functions of one argument inside uniq*() functions.