mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 03:12:43 +00:00
10 lines
358 B
Plaintext
10 lines
358 B
Plaintext
|
-- { echo }
|
||
|
SELECT toUInt32OrDefault(toNullable(toUInt32(1))) SETTINGS cast_keep_nullable=1;
|
||
|
1
|
||
|
SELECT toUInt32OrDefault(toNullable(toUInt32(1)), toNullable(toUInt32(2))) SETTINGS cast_keep_nullable=1;
|
||
|
1
|
||
|
SELECT toUInt32OrDefault(toUInt32(1)) SETTINGS cast_keep_nullable=1;
|
||
|
1
|
||
|
SELECT toUInt32OrDefault(toUInt32(1), toUInt32(2)) SETTINGS cast_keep_nullable=1;
|
||
|
1
|