Revert behaviour with duplicates in 01213_optimize_skip_unused_shards_DISTINCT

Since now optimization is done only under
optimize_distributed_group_by_sharding_key.
This commit is contained in:
Azat Khuzhin 2020-04-30 10:13:19 +03:00
parent 038235684d
commit faea8afa22
2 changed files with 0 additions and 3 deletions

View File

@ -6,5 +6,3 @@ optimize_skip_unused_shards
optimize_skip_unused_shards lack of WHERE
0
1
0
1

View File

@ -12,7 +12,6 @@ SELECT DISTINCT id FROM dist_01213 WHERE id = 1 SETTINGS distributed_group_by_no
SELECT 'optimize_skip_unused_shards';
SELECT DISTINCT id FROM dist_01213 WHERE id = 1 SETTINGS optimize_skip_unused_shards=1;
-- check that querying all shards is ok
-- (there will be duplicates, since the INSERT was done via local table)
SELECT 'optimize_skip_unused_shards lack of WHERE';
SELECT DISTINCT id FROM dist_01213 SETTINGS optimize_skip_unused_shards=1;