mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 03:12:43 +00:00
12 lines
288 B
MySQL
12 lines
288 B
MySQL
|
set allow_suspicious_low_cardinality_types=1;
|
||
|
|
||
|
drop table if exists test;
|
||
|
|
||
|
create table test (val LowCardinality(Float32)) engine MergeTree order by val;
|
||
|
|
||
|
insert into test values (nan);
|
||
|
|
||
|
select count() from test where toUInt64(val) = -1; -- { serverError 70 }
|
||
|
|
||
|
drop table if exists test;
|