Add test on "analyze" query

This commit is contained in:
Ivan Lezhankin 2019-02-14 16:13:29 +03:00
parent 0a443399a0
commit c035d853a5
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1 @@
SELECT \n a, \n b\nFROM test.a

View File

@ -0,0 +1,8 @@
set enable_debug_queries = 1;
DROP TABLE IF EXISTS test.a;
CREATE TABLE test.a (a UInt8, b UInt8) ENGINE MergeTree ORDER BY a;
ANALYZE SELECT * FROM test.a;
DROP TABLE test.a;