mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +00:00
11 lines
441 B
XML
11 lines
441 B
XML
<test>
|
|
<create_query>DROP TABLE IF EXISTS test_avg_insert</create_query>
|
|
<create_query>
|
|
CREATE TABLE test_avg_insert (key UInt64, value AggregateFunction(avg, UInt8)) ENGINE = Memory()
|
|
</create_query>
|
|
|
|
<query>INSERT INTO test_avg_insert with initializeAggregation('avgState', 1) as s select number, s AS value FROM numbers(200000000)</query>
|
|
|
|
<drop_query>DROP TABLE IF EXISTS test_avg_insert</drop_query>
|
|
</test>
|