influxdb/query_tests/cases/in/no_stats_plans.sql

11 lines
481 B
SQL

-- Demonstrate plans that are not optimized using statistics
-- IOX_SETUP: TwoMeasurementsManyFieldsOneRubChunk
-- This plan should scan data as it reads from chunk with delete predicates
EXPLAIN SELECT count(*) from h2o;
-- NOTE: This test should have "IOX_SETUP: ThreeDeleteThreeChunks" but becasue of Bug: https://github.com/influxdata/influxdb_iox/issues/2745
-- make it TwoMeasurementsManyFieldsOneRubChunk
-- Also, the query should be "EXPLAIN SELECT count(*) from cpu;"