ClickHouse/tests/queries/0_stateless/01279_dist_group_by.sql

12 lines
346 B
MySQL
Raw Normal View History

drop table if exists data_01279;
create table data_01279 (key String) Engine=TinyLog();
insert into data_01279 select reinterpretAsString(number) from numbers(100000);
set max_rows_to_group_by=10;
set group_by_overflow_mode='any';
set group_by_two_level_threshold=100;
select * from data_01279 group by key format Null;
2020-11-11 15:29:36 +00:00
drop table data_01279;