ClickHouse/tests/queries/0_stateless/02480_suspicious_lowcard_in_key.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
288 B
MySQL
Raw Normal View History

2022-11-27 10:40:26 +00:00
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;