ClickHouse/dbms/tests/queries/0_stateless/00908_analyze_query.sql

9 lines
179 B
MySQL
Raw Normal View History

2019-02-14 13:13:29 +00:00
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;