From 8827857fc3890a1d10d61a28529e0ac7509933df Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Thu, 6 May 2021 01:09:08 +0300 Subject: [PATCH] Fix bad test --- tests/queries/0_stateless/00950_test_double_delta_codec.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/queries/0_stateless/00950_test_double_delta_codec.sql b/tests/queries/0_stateless/00950_test_double_delta_codec.sql index 776a732b269..6bf9b2628ad 100644 --- a/tests/queries/0_stateless/00950_test_double_delta_codec.sql +++ b/tests/queries/0_stateless/00950_test_double_delta_codec.sql @@ -22,7 +22,7 @@ CREATE TABLE codecTest ( valueI8 Int8 CODEC(DoubleDelta), valueDT DateTime CODEC(DoubleDelta), valueD Date CODEC(DoubleDelta) -) Engine = MergeTree ORDER BY key; +) Engine = MergeTree ORDER BY key SETTINGS min_bytes_for_wide_part = 0; -- checking for overflow @@ -154,7 +154,8 @@ SELECT round(u/c,3) ratio FROM system.columns WHERE - table == 'codecTest' + table = 'codecTest' + AND database = currentDatabase() AND compression_codec != '' AND