v.23.8New Feature
New toUTCTimestamp and fromUTCTimestamp Functions Added for ClickHouse
New functionstoUTCTimestamp/fromUTCTimestampto act same as spark'sto_utc_timestamp/from_utc_timestamp. #52117 (KevinyhZou).
Why it matters
These functions provide users with a standard way to convert timestamps to and from UTC, matching Spark's semantics, which improves compatibility and ease of migration for users working across both systems.How to use it
Use the functionstoUTCTimestamp and fromUTCTimestamp in your SQL queries to convert timestamps to UTC timezone and from UTC to a specified timezone, respectively.