mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
14 lines
799 B
SQL
14 lines
799 B
SQL
SELECT coalesce(toNullable(1), toNullable(2)) as x, toTypeName(x);
|
|
SELECT coalesce(NULL, toNullable(2)) as x, toTypeName(x);
|
|
SELECT coalesce(toNullable(1), NULL) as x, toTypeName(x);
|
|
SELECT coalesce(NULL, NULL) as x, toTypeName(x);
|
|
|
|
SELECT coalesce(toNullable(materialize(1)), toNullable(materialize(2))) as x, toTypeName(x);
|
|
SELECT coalesce(NULL, toNullable(materialize(2))) as x, toTypeName(x);
|
|
SELECT coalesce(toNullable(materialize(1)), NULL) as x, toTypeName(x);
|
|
SELECT coalesce(materialize(NULL), materialize(NULL)) as x, toTypeName(x);
|
|
|
|
SELECT coalesce(toLowCardinality(toNullable(1)), toLowCardinality(toNullable(2))) as x, toTypeName(x);
|
|
SELECT coalesce(NULL, toLowCardinality(toNullable(2))) as x, toTypeName(x);
|
|
SELECT coalesce(toLowCardinality(toNullable(1)), NULL) as x, toTypeName(x);
|