mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
6 lines
301 B
SQL
6 lines
301 B
SQL
-- Tags: no-fasttest
|
|
|
|
SET session_timezone='Europe/Madrid'; -- disable time zone randomization in CI
|
|
SELECT if(length(x) = 26, ULIDStringToDateTime(x, 'Europe/Madrid'), toDateTime('2024-02-21 12:00:00', 'Europe/Madrid')) AS datetime
|
|
FROM values('x String', '01HQ3KJJKHRWP357YVYBX32WHY', '01HQ3KJJKH')
|