explain_query
Returns the optimized SQL and DuckDB execution plan for a metrics request without running it, so you can review or paste the query into a BI dashboard.
Instructions
Return the optimized SQL and DuckDB plan for a request, without running it.
Same arguments as query_metrics. Useful to paste the query into a BI dashboard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| date_to | No | ||
| filters | No | ||
| metrics | Yes | ||
| order_by | No | ||
| date_from | No | ||
| descending | No | ||
| dimensions | No | ||
| with_share | No |