mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
More tests
This commit is contained in:
parent
ed3ead3493
commit
64a42c7d3a
@ -63,3 +63,13 @@ abc
|
||||
1
|
||||
Остальные
|
||||
\N
|
||||
-
|
||||
xyz
|
||||
Hello
|
||||
-
|
||||
xyz
|
||||
World
|
||||
-
|
||||
xyz
|
||||
-
|
||||
-
|
||||
|
@ -10,3 +10,5 @@ SELECT transform(toString(number), ['3', '5', '7'], [null, 222, 333], materializ
|
||||
SELECT transform(toString(number), ['3', '5', '7'], [null, null, null], materialize(1)) FROM system.numbers LIMIT 10;
|
||||
SELECT transform(1, [2, 3], ['Meta.ua', null], materialize('Остальные')) AS title;
|
||||
SELECT transform(2, [2, 3], [null, 'Google'], materialize('Остальные')) AS title;
|
||||
|
||||
SELECT transform(number % 3 = 1 ? NULL : number, [2, 5, NULL], ['Hello', 'World', 'xyz'], '-') FROM numbers(10);
|
||||
|
Loading…
Reference in New Issue
Block a user