EXPLAIN
EXPLAIN shows the physical plan for a query without running the query.
Example
Section titled “Example”EXPLAINSELECT name, total_rowsFROM system.tablesWHERE total_rows > 1000ORDER BY total_rows DESCLIMIT 10;Syntax
Section titled “Syntax”EXPLAIN query;Pass a query after EXPLAIN to inspect how Pivot plans to scan, filter, join,
or aggregate its inputs. The referenced tables must be available to the
planner.
Limitations
Section titled “Limitations”EXPLAIN ANALYZE is not supported. EXPLAIN describes a plan; it does not
measure that plan’s runtime.
