mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-19 23:10:50 +00:00
8 lines
315 B
SQL
8 lines
315 B
SQL
set allow_experimental_low_cardinality_type = 1;
|
|
drop table if exists test.lc;
|
|
create table test.lc (val LowCardinality(UInt64)) engine = MergeTree order by val;
|
|
insert into test.lc select number % 123 from system.numbers limit 100000;
|
|
select distinct(val) from test.lc order by val;
|
|
drop table if exists test.lc;
|
|
|