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

9 lines
551 B
MySQL
Raw Normal View History

2023-02-03 13:34:18 +00:00
-- Tags: no-replicated-database, no-parallel-replicas
2021-09-12 12:35:27 +00:00
-- Tag no-replicated-database: Requires investigation
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;