mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
4ec811d1fd
This reverts commit 28279e13f2
.
8 lines
261 B
SQL
8 lines
261 B
SQL
drop table if exists test_enum;
|
|
create table test_enum (c Nullable(Enum16('A' = 1, 'B' = 2))) engine Log;
|
|
insert into test_enum values (1), (NULL);
|
|
select * from test_enum;
|
|
select toString(c) from test_enum;
|
|
select toString('aaaa', NULL);
|
|
drop table test_enum;
|