ClickHouse/tests/queries/1_stateful/00166_explain_estimate.sql

11 lines
573 B
MySQL
Raw Normal View History

-- Tags: no-replicated-database
2021-09-12 12:35:27 +00:00
-- Tag no-replicated-database: Requires investigation
SET optimize_use_implicit_projections = 0;
2021-07-14 13:12:32 +00:00
EXPLAIN ESTIMATE SELECT count() FROM test.hits WHERE CounterID = 29103473;
EXPLAIN ESTIMATE SELECT count() FROM test.hits WHERE CounterID != 29103473;
EXPLAIN ESTIMATE SELECT count() FROM test.hits WHERE CounterID > 29103473;
EXPLAIN ESTIMATE SELECT count() FROM test.hits WHERE CounterID < 29103473;
EXPLAIN ESTIMATE SELECT count() FROM test.hits WHERE CounterID = 29103473 UNION ALL SELECT count() FROM test.hits WHERE CounterID = 1704509;