ClickHouse/tests/queries/0_stateless/00434_tonullable.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

14 lines
346 B
SQL

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