From bc0707995a5af74d9e6dc736f31ee85f768c8c48 Mon Sep 17 00:00:00 2001 From: Juan Madurga Date: Wed, 21 Feb 2024 13:14:23 +0100 Subject: [PATCH] update test --- tests/queries/0_stateless/02995_ulid_short_circuit.reference | 1 + tests/queries/0_stateless/02995_ulid_short_circuit.sql | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/queries/0_stateless/02995_ulid_short_circuit.reference b/tests/queries/0_stateless/02995_ulid_short_circuit.reference index 101f8a0687b..51460c40e48 100644 --- a/tests/queries/0_stateless/02995_ulid_short_circuit.reference +++ b/tests/queries/0_stateless/02995_ulid_short_circuit.reference @@ -1 +1,2 @@ +2024-02-20 16:53:57.105 2024-02-21 12:00:00.000 diff --git a/tests/queries/0_stateless/02995_ulid_short_circuit.sql b/tests/queries/0_stateless/02995_ulid_short_circuit.sql index 6c276ab1ff5..ec279e37b0d 100644 --- a/tests/queries/0_stateless/02995_ulid_short_circuit.sql +++ b/tests/queries/0_stateless/02995_ulid_short_circuit.sql @@ -1,3 +1,4 @@ -- Tags: no-fasttest -SELECT if(false, ULIDStringToDateTime('a'), toDateTime('2024-02-21 12:00:00')) +SELECT if(length(x) = 26, ULIDStringToDateTime(x, 'Europe/Madrid'), toDateTime('2024-02-21 12:00:00')) AS datetime +FROM values('x String', '01HQ3KJJKHRWP357YVYBX32WHY', '01HQ3KJJKH')