mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
10 lines
322 B
SQL
10 lines
322 B
SQL
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;
|