ClickHouse/tests/queries/0_stateless/02353_explain_ast_optimize.sql
2022-07-19 12:40:50 +00:00

7 lines
265 B
SQL

-- { 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 }