ClickHouse/dbms/tests/queries/0_stateless/00908_analyze_query.sql
2019-02-26 13:17:25 +03:00

9 lines
179 B
SQL

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;