1
1
create table t_mbm(a UInt64) engine=MergeTree order by a
insert into t_mbm select * from numbers_mt(5e6)
optimize table t_mbm final
select avg(a) from remote('127.0.0.{{1,2}}', default, t_mbm) group by a format Null
select * from remote('127.0.0.{{1,2}}', default, t_mbm) group by a format Null settings allow_experimental_parallel_reading_from_replicas = 1, max_parallel_replicas = 2, use_hedged_requests = 0
drop table t_mbm