v.23.11Improvement
Function concat now supports arbitrary argument types, aligning with MySQL behavior
Functionconcatnow supports arbitrary argument types (instead of only String and FixedString arguments). This makes it behave more similar to MySQLconcatimplementation. For example,SELECT concat('ab', 42)now returnsab42. #56540 (Serge Klochkov).
Why it matters
This enhancement allows users to concatenate values of different data types without explicit type conversion, simplifying queries and improving usability by producing results similar to MySQL's concat function.How to use it
Simply use theconcat function with any argument types in your queries. For example:SELECT concat('ab', 42)will return
ab42 without requiring manual casting.