mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Added yet another test just in case
This commit is contained in:
parent
4508876008
commit
d8ae9c571c
@ -1,3 +1,8 @@
|
||||
2 0 leave
|
||||
0 1 delete
|
||||
\N \N leave
|
||||
---
|
||||
0 1 Definitely x = 0
|
||||
1 0 We cannot say that x = 0
|
||||
3 0 We cannot say that x = 0
|
||||
\N \N We cannot say that x = 0
|
||||
|
@ -3,3 +3,7 @@ SELECT
|
||||
UserID = 0,
|
||||
if(UserID = 0, 'delete', 'leave')
|
||||
FROM VALUES('UserID Nullable(UInt8)', (2), (0), (NULL));
|
||||
|
||||
SELECT '---';
|
||||
|
||||
SELECT arrayJoin([0, 1, 3, NULL]) AS x, x = 0, if(x = 0, 'Definitely x = 0', 'We cannot say that x = 0');
|
||||
|
Loading…
Reference in New Issue
Block a user