mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
21 lines
550 B
XML
21 lines
550 B
XML
<test>
|
|
<settings>
|
|
<max_threads>2</max_threads>
|
|
</settings>
|
|
<create_query>
|
|
create table ht_prefetch (a String, b String, c UInt64) engine=Memory
|
|
</create_query>
|
|
|
|
<fill_query>
|
|
insert into ht_prefetch select concat('key', toString(number)), concat('value', toString(rand())), rand() % 1000 from numbers(1e7)
|
|
</fill_query>
|
|
|
|
<query>
|
|
select a, b , avg(c) from ht_prefetch group by a, b format Null
|
|
</query>
|
|
|
|
<drop_query>
|
|
drop table if exists ht_prefetch
|
|
</drop_query>
|
|
</test>
|