mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Added test [#METR-19266].
This commit is contained in:
parent
baf29f5c48
commit
0323a74942
@ -0,0 +1,15 @@
|
||||
┌─tuple─────────┐
|
||||
│ (0,NULL,NULL) │
|
||||
│ (1,1,'1') │
|
||||
│ (2,2,NULL) │
|
||||
│ (3,NULL,'1') │
|
||||
│ (4,1,NULL) │
|
||||
│ (5,2,'1') │
|
||||
│ (6,NULL,NULL) │
|
||||
│ (7,1,'1') │
|
||||
│ (8,2,NULL) │
|
||||
│ (9,NULL,'1') │
|
||||
└───────────────┘
|
||||
┌──x─┬─y──────┐
|
||||
│ \N │ (NULL) │
|
||||
└────┴────────┘
|
@ -0,0 +1,2 @@
|
||||
SELECT (number, nullIf(number % 3, 0), toString(nullIf(number % 2, 0))) AS tuple FROM system.numbers LIMIT 10 FORMAT PrettyCompactNoEscapes;
|
||||
SELECT NULL AS x, tuple(NULL) AS y FORMAT PrettyCompactNoEscapes;
|
Loading…
Reference in New Issue
Block a user