-- SQLNESS REPLACE (\d+:\d+:\d+\.\d+) TIME -- SQLNESS REPLACE [\s\-]+ select current_time(); ++|current_time()|++|TIME|++ select GREATEST('1999-01-30', '2023-03-01'); +-------------------------------------------------+ | greatest(Utf8("1999-01-30"),Utf8("2023-03-01")) | +-------------------------------------------------+ | 2023-03-01 | +-------------------------------------------------+ select GREATEST('2000-02-11'::Date, '2020-12-30'::Date); +-------------------------------------------------+ | greatest(Utf8("2000-02-11"),Utf8("2020-12-30")) | +-------------------------------------------------+ | 2020-12-30 | +-------------------------------------------------+ select to_timezone('2022-09-20T14:16:43.012345+08:00', 'Europe/Berlin'); +-----------------------------------------------------------------------------+ | to_timezone(Utf8("2022-09-20T14:16:43.012345+08:00"),Utf8("Europe/Berlin")) | +-----------------------------------------------------------------------------+ | 2022-09-20 08:16:43.012345 | +-----------------------------------------------------------------------------+ select to_timezone('2022-09-20T14:16:43.012345+08:00'::Timestamp, 'Europe/Berlin'); +-----------------------------------------------------------------------------+ | to_timezone(Utf8("2022-09-20T14:16:43.012345+08:00"),Utf8("Europe/Berlin")) | +-----------------------------------------------------------------------------+ | 2022-09-20 08:16:43.012 | +-----------------------------------------------------------------------------+ select to_timezone('2024-03-29T14:16:43.012345Z', 'Asia/Shanghai'); +------------------------------------------------------------------------+ | to_timezone(Utf8("2024-03-29T14:16:43.012345Z"),Utf8("Asia/Shanghai")) | +------------------------------------------------------------------------+ | 2024-03-29 22:16:43.012345 | +------------------------------------------------------------------------+ select to_timezone('2024-03-29T14:16:43.012345Z'::Timestamp, 'Asia/Shanghai'); +------------------------------------------------------------------------+ | to_timezone(Utf8("2024-03-29T14:16:43.012345Z"),Utf8("Asia/Shanghai")) | +------------------------------------------------------------------------+ | 2024-03-29 22:16:43.012 | +------------------------------------------------------------------------+ select to_timezone(1709992225, 'Asia/Shanghai'); +------------------------------------------------------+ | to_timezone(Int64(1709992225),Utf8("Asia/Shanghai")) | +------------------------------------------------------+ | 1970-01-21 02:59:52.225 | +------------------------------------------------------+ select to_timezone(1711508510000::INT64, 'Asia/Shanghai'); +---------------------------------------------------------+ | to_timezone(Int64(1711508510000),Utf8("Asia/Shanghai")) | +---------------------------------------------------------+ | 2024-03-27 11:01:50 | +---------------------------------------------------------+