enhance tests

This commit is contained in:
Yarik Briukhovetskyi 2024-10-25 13:19:49 +02:00 committed by GitHub
parent 87ec91bb10
commit 4277e688a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 25 additions and 1 deletions

View File

@ -1 +1,8 @@
0
0
0
0
ᴺᵁᴸᴸ
0
1
0

View File

@ -1,2 +1,19 @@
with toDateTime('2024-10-16 18:00:30') as t
SELECT toDateTime64(t, 3) + interval 100 milliseconds IN (SELECT t);
SELECT toDateTime64(t, 3) + interval 100 milliseconds IN (SELECT t) settings transform_null_in=0;
with toDateTime('2024-10-16 18:00:30') as t
SELECT toDateTime64(t, 3) + interval 100 milliseconds IN (SELECT t) settings transform_null_in=1;
with toDateTime('1970-01-01 00:00:01') as t
SELECT toDateTime64(t, 3) + interval 100 milliseconds IN (now(), Null) settings transform_null_in=1;
with toDateTime('1970-01-01 00:00:01') as t
SELECT toDateTime64(t, 3) + interval 100 milliseconds IN (now(), Null) settings transform_null_in=0;
with toDateTime('1970-01-01 00:00:01') as t,
arrayJoin([Null, toDateTime64(t, 3) + interval 100 milliseconds]) as x
SELECT x IN (now(), Null) settings transform_null_in=0;
with toDateTime('1970-01-01 00:00:01') as t,
arrayJoin([Null, toDateTime64(t, 3) + interval 100 milliseconds]) as x
SELECT x IN (now(), Null) settings transform_null_in=1;