mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +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
|