v.24.1Improvement
Function concatWithSeparator Now Supports Arbitrary Argument Types
FunctionconcatWithSeparatornow supports arbitrary argument types (instead of onlyStringandFixedStringarguments). For example,SELECT concatWithSeparator('.', 'number', 1)now returnsnumber.1. #59341 (Robert Schulze).
Why it matters
Previously,concatWithSeparator only accepted string-type arguments, which limited its usability when combining different data types. This enhancement allows users to concatenate mixed-type arguments seamlessly, improving flexibility and convenience when constructing strings from various data types.How to use it
UseconcatWithSeparator(separator, arg1, arg2, ...) with any argument types. For example:SELECT concatWithSeparator('.', 'number', 1)which returns
number.1.