v.21.1Improvements
Allow EXCEPT in Column Transformer to Accept Regex Strings
Allow column transformer EXCEPT to accept a string as regular expression matcher. This resolves #18685 . #18699 (Amos Bird).Why it matters
This feature enables more flexible and powerful column selection by allowing users to exclude columns based on pattern matching rather than listing them explicitly. It simplifies queries and improves usability when working with dynamically named columns or large schemas.How to use it
Use theEXCEPT clause with a string argument representing a regular expression to exclude columns matching the pattern in column transformers. For example:SELECT EXCEPT('^tmp_.$') FROM tableThis will exclude all columns whose names start with "tmp_".