mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Added test [#CLICKHOUSE-2789].
This commit is contained in:
parent
3107156fd9
commit
1abf959722
@ -0,0 +1 @@
|
|||||||
|
\N Hello 1 \N Hello 1 Null Nullable(String) Nullable(UInt8) Null Nullable(String) Nullable(UInt8)
|
13
dbms/tests/queries/0_stateless/00434_tonullable.sql
Normal file
13
dbms/tests/queries/0_stateless/00434_tonullable.sql
Normal 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);
|
Loading…
Reference in New Issue
Block a user