This commit is contained in:
alesapin 2024-11-30 18:39:56 +01:00
parent 38bd543a42
commit 3bc731541c

View File

@ -0,0 +1,10 @@
<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>