From 40a0551d855d58dcbee80dd6fae32a5538308cc9 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 19 Aug 2018 23:41:45 +0300 Subject: [PATCH] Client --testmode cannot be used to catch exceptions thrown from query parser #2840 --- .../0_stateless/00687_top_and_offset.sql | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 dbms/tests/queries/0_stateless/00687_top_and_offset.sql diff --git a/dbms/tests/queries/0_stateless/00687_top_and_offset.sql b/dbms/tests/queries/0_stateless/00687_top_and_offset.sql deleted file mode 100644 index 71166b46260..00000000000 --- a/dbms/tests/queries/0_stateless/00687_top_and_offset.sql +++ /dev/null @@ -1,23 +0,0 @@ -SET send_logs_level = 'none'; - -DROP TABLE IF EXISTS test.test; - -CREATE TABLE test.test(val Int64) engine = Memory; - -INSERT INTO test.test VALUES (1); -INSERT INTO test.test VALUES (2); -INSERT INTO test.test VALUES (3); -INSERT INTO test.test VALUES (4); -INSERT INTO test.test VALUES (5); -INSERT INTO test.test VALUES (6); -INSERT INTO test.test VALUES (7); -INSERT INTO test.test VALUES (8); -INSERT INTO test.test VALUES (9); - -SELECT TOP 2 * FROM test.test ORDER BY val; -SELECT TOP (2) * FROM test.test ORDER BY val; -SELECT * FROM test.test ORDER BY val LIMIT 2 OFFSET 2; -SELECT TOP 2 * FROM test.test ORDER BY val LIMIT 2; -- { clientError 406 } -SELECT * FROM test.test ORDER BY val LIMIT 2,3 OFFSET 2; -- { clientError 62 } - -DROP TABLE test.test;