mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
16 lines
588 B
XML
16 lines
588 B
XML
<test>
|
|
<settings>
|
|
<enable_memory_bound_merging_of_aggregation_results>1</enable_memory_bound_merging_of_aggregation_results>
|
|
<optimize_aggregation_in_order>1</optimize_aggregation_in_order>
|
|
</settings>
|
|
|
|
<create_query>create table t_mbm(a UInt64) engine=MergeTree order by a</create_query>
|
|
|
|
<fill_query>insert into t_mbm select * from numbers_mt(5e6)</fill_query>
|
|
<fill_query>optimize table t_mbm final</fill_query>
|
|
|
|
<query>select avg(a) from remote('127.0.0.{{1,2}}', default, t_mbm) group by a format Null</query>
|
|
|
|
<drop_query>drop table t_mbm</drop_query>
|
|
</test>
|