v.21.1Improvements
Function Name Normalization for ALTER Queries to Prevent Metadata Mismatches
Function name normalization for ALTER queries. This helps avoid metadata mismatch between creating table with indices/projections and adding indices/projections via alter commands. This is a follow-up PR of https://github.com/ClickHouse/ClickHouse/pull/20174. Mark as improvements as there are no bug reports and the senario is somehow rare. #31095 (Amos Bird).Why it matters
This feature addresses potential metadata mismatches caused by differences in function name representations between table creation and subsequentALTER commands. By normalizing function names, it improves metadata consistency, reducing unexpected issues when adding indices or projections through ALTER queries.How to use it
Users benefit from this feature automatically when usingALTER queries to add indices or projections. No additional configuration or syntax changes are required—the normalization is applied internally during processing of ALTER commands.