ClickHouse/tests/queries/0_stateless/00434_tonullable.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
346 B
MySQL
Raw Normal View History

2017-03-09 19:49:11 +00:00
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);