mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 03:25:15 +00:00
7e3186c826
* optimize agg column data copy * add aggfunc col data copy test * fix null warning * fix style * fix style * fix style * fix style * fix copy same dat to same pos bug * fix style * fix style * Update ColumnAggregateFunction.cpp fix type check * control record buf size * fix performance * fix performance * fix destroy data speed * decrease run time. * fix warning * decrease test run time * Update aggfunc_col_data_copy.xml * replace unordered_map with HashMap * fix compile err * fix compile err * fix compile err * fix compile err * fix compile err * fix compile err * fix compile err * fix compile err * fix compile err * fix hash map compile err * fix compile err * fix compile err * fix format * faster test Co-authored-by: centos7 <templarzq@localhost.localdomain>
25 lines
1.0 KiB
XML
25 lines
1.0 KiB
XML
<test max_ignored_relative_change="0.2">
|
|
<create_query>drop table if EXISTS test_bm2;</create_query>
|
|
<create_query>drop table if EXISTS test_bm_join2;</create_query>
|
|
<create_query>create table test_bm2(
|
|
dim UInt64,
|
|
id UInt64)
|
|
ENGINE = MergeTree()
|
|
ORDER BY( dim )
|
|
SETTINGS index_granularity = 8192;
|
|
</create_query>
|
|
<create_query>
|
|
create table test_bm_join2(
|
|
dim UInt64,
|
|
ids AggregateFunction(groupBitmap, UInt64) )
|
|
ENGINE = MergeTree()
|
|
ORDER BY(dim)
|
|
SETTINGS index_granularity = 8192;
|
|
</create_query>
|
|
<fill_query>insert into test_bm2 SELECT 1,number FROM numbers(0, 1000)</fill_query>
|
|
<fill_query>insert into test_bm_join2 SELECT 1, bitmapBuild(range(toUInt64(0),toUInt64(11000000)))</fill_query>
|
|
<query>select a.dim,bitmapCardinality(b.ids) from test_bm2 a left join test_bm_join2 b using(dim)</query>
|
|
<drop_query>drop table if exists test_bm2</drop_query>
|
|
<drop_query>drop table if exists test_bm_join2</drop_query>
|
|
</test>
|