Added test for Distributed table with Seting looking at tables with LowCardinality(String) in presense of memory efficient aggregation setting #6638

This commit is contained in:
Alexey Milovidov 2020-05-30 22:07:46 +03:00
parent a4b2daae0d
commit 3574dfe1db
2 changed files with 12 additions and 0 deletions

View File

@ -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;