More tests

This commit is contained in:
Alexey Milovidov 2023-06-24 07:19:45 +02:00
parent ed3ead3493
commit 64a42c7d3a
2 changed files with 12 additions and 0 deletions

View File

@ -63,3 +63,13 @@ abc
1
Остальные
\N
-
xyz
Hello
-
xyz
World
-
xyz
-
-

View File

@ -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);