ClickHouse/tests/queries/0_stateless/00906_low_cardinality_cache.sql

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

7 lines
348 B
MySQL
Raw Normal View History

2024-07-24 07:57:56 +00:00
SET max_rows_to_read = '100M'
drop table if exists lc_00906;
create table lc_00906 (b LowCardinality(String)) engine=MergeTree order by b SETTINGS index_granularity = 8192, index_granularity_bytes = '10Mi';
2024-07-24 07:57:56 +00:00
insert into lc_00906 select '0123456789' from numbers(100000000);
select count(), b from lc_00906 group by b;
drop table if exists lc_00906;