mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
11 lines
328 B
MySQL
11 lines
328 B
MySQL
|
drop table if exists t1;
|
||
|
|
||
|
set allow_suspicious_low_cardinality_types = 1;
|
||
|
create table t1 (id LowCardinality(Nullable(Int64))) engine MergeTree order by id settings allow_nullable_key = 1, index_granularity = 1;
|
||
|
|
||
|
insert into t1 values (21585718595728998), (null);
|
||
|
|
||
|
select * from t1 where id = 21585718595728998;
|
||
|
|
||
|
drop table t1;
|