v.23.5Improvement
Function toUnixTimestamp Updated to Accept Date and Date32 Arguments
FunctiontoUnixTimestampnow acceptsDateandDate32arguments. #49989 (Victor Krasnov).
Why it matters
This enhancement allows users to convertDate and Date32 values directly to Unix timestamps without needing to cast them explicitly, simplifying queries and improving usability.How to use it
Use thetoUnixTimestamp function with Date or Date32 values directly, for example:SELECT toUnixTimestamp(date_column) FROM table;