ClickHouse/tests/queries/0_stateless/02353_explain_ast_optimize.sql

7 lines
265 B
MySQL
Raw Normal View History

2022-07-19 12:40:50 +00:00
-- { echoOn }
EXPLAIN AST optimize=0 SELECT * FROM numbers(0);
EXPLAIN AST optimize=1 SELECT * FROM numbers(0);
EXPLAIN AST optimize=0 SELECT countDistinct(number) FROM numbers(0);
EXPLAIN AST optimize=1 SELECT countDistinct(number) FROM numbers(0);
-- { echoOff }