mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-20 14:42:02 +00:00
10 lines
227 B
SQL
10 lines
227 B
SQL
drop table if exists n;
|
|
|
|
create table n(nc Nullable(int)) engine = MergeTree order by (tuple()) partition by (nc) settings allow_nullable_key = 1;
|
|
|
|
insert into n values (null);
|
|
|
|
select * from n where nc is null;
|
|
|
|
drop table n;
|