Added test [#CLICKHOUSE-2789].

This commit is contained in:
Alexey Milovidov 2017-03-09 22:49:11 +03:00
parent 3107156fd9
commit 1abf959722
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1 @@
\N Hello 1 \N Hello 1 Null Nullable(String) Nullable(UInt8) Null Nullable(String) Nullable(UInt8)

View File

@ -0,0 +1,13 @@
SELECT
toNullable(NULL) AS a,
toNullable('Hello') AS b,
toNullable(toNullable(1)) AS c,
toNullable(materialize(NULL)) AS d,
toNullable(materialize('Hello')) AS e,
toNullable(toNullable(materialize(1))) AS f,
toTypeName(a),
toTypeName(b),
toTypeName(c),
toTypeName(d),
toTypeName(e),
toTypeName(f);