ClickHouse/tests/queries/0_stateless/00800_low_cardinality_distinct_numeric.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

8 lines
329 B
SQL

set allow_suspicious_low_cardinality_types = 1;
drop table if exists lc_00800_2;
create table lc_00800_2 (val LowCardinality(UInt64)) engine = MergeTree order by val;
insert into lc_00800_2 select number % 123 from system.numbers limit 100000;
select distinct(val) from lc_00800_2 order by val;
drop table if exists lc_00800_2
;