ClickHouse/tests/queries/0_stateless/02999_ulid_short_circuit.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
301 B
MySQL
Raw Normal View History

2024-02-21 09:46:53 +00:00
-- 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
2024-02-21 12:14:23 +00:00
FROM values('x String', '01HQ3KJJKHRWP357YVYBX32WHY', '01HQ3KJJKH')