mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
Merge pull request #11315 from ClickHouse/add-test-for-distributed_low_cardinality_memory_efficient
Added a test for Distributed table with String looking at tables with LowCardinality(String) in presense of memory efficient aggregation setting
This commit is contained in:
commit
5010cd724e
@ -0,0 +1 @@
|
|||||||
|
foo
|
@ -0,0 +1,11 @@
|
|||||||
|
DROP TABLE IF EXISTS data;
|
||||||
|
DROP TABLE IF EXISTS dist;
|
||||||
|
|
||||||
|
create table data (key String) Engine=Memory();
|
||||||
|
create table dist (key LowCardinality(String)) engine=Distributed(test_cluster_two_shards, currentDatabase(), data);
|
||||||
|
insert into data values ('foo');
|
||||||
|
set distributed_aggregation_memory_efficient=1;
|
||||||
|
select * from dist group by key;
|
||||||
|
|
||||||
|
DROP TABLE data;
|
||||||
|
DROP TABLE dist;
|
Loading…
Reference in New Issue
Block a user