ClickHouse/tests/performance/avg_serialization.xml
2024-11-30 18:39:56 +01:00

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>