From 2b85ea17ef88ee22fd4b947706917c4e25ba1eca Mon Sep 17 00:00:00 2001 From: Artem Zuikov Date: Mon, 2 Mar 2020 15:24:10 +0300 Subject: [PATCH] make test stable --- dbms/tests/queries/0_stateless/00808_not_optimize_predicate.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/tests/queries/0_stateless/00808_not_optimize_predicate.sql b/dbms/tests/queries/0_stateless/00808_not_optimize_predicate.sql index 542bea690e8..b4204f0c3bb 100644 --- a/dbms/tests/queries/0_stateless/00808_not_optimize_predicate.sql +++ b/dbms/tests/queries/0_stateless/00808_not_optimize_predicate.sql @@ -10,7 +10,7 @@ SET enable_optimize_predicate_expression = 1; SELECT '-------ENABLE OPTIMIZE PREDICATE-------'; SELECT * FROM (SELECT * FROM test_00808 FINAL) WHERE id = 1; -SELECT * FROM (SELECT * FROM test_00808 LIMIT 1) WHERE id = 1; +SELECT * FROM (SELECT * FROM test_00808 ORDER BY id LIMIT 1) WHERE id = 1; SELECT * FROM (SELECT id FROM test_00808 GROUP BY id LIMIT 1 BY id) WHERE id = 1; SET force_primary_key = 1;