mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 20:24:07 +00:00
enhance tests
This commit is contained in:
parent
87ec91bb10
commit
4277e688a5
@ -1 +1,8 @@
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
ᴺᵁᴸᴸ
|
||||
0
|
||||
1
|
||||
0
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user