v.22.10Improvement
Allow Date32 Arguments for dateName Function
Allow to useDate32arguments fordateNamefunction. #42554 (Roman Vasin).
Why it matters
This feature extends the compatibility of thedateName function, enabling it to work with the Date32 data type. This improves flexibility and allows users to extract date parts from Date32 columns without type conversion, simplifying queries and improving usability.How to use it
Simply pass aDate32 typed column or value as an argument to the dateName function just like with Date types. For example:SELECT dateName('month', some_date32_column) FROM table;