v.25.8Improvement

User-defined functions with unusual names and codecs

User-defined functions with unusual names and codecs can be formatted inconsistently by the SQL formatter. This closes #83092. #83644 (Alexey Milovidov).
Improved SQL formatter consistency for user-defined functions with unusual names and codecs.

Why it matters

The feature addresses inconsistent formatting issues in the SQL formatter when handling user-defined functions that have unusual names or use specific codecs. This ensures that the code formatting remains predictable and readable, enhancing user experience and maintainability.

How to use it

The improvement is applied automatically in the SQL formatter within ClickHouse. Users do not need to enable any settings; formatting of SQL queries involving user-defined functions with unusual names or codecs will now be consistent.