Expand description
Building a DashboardModel from a live embedded session: the executed
plan as a DAG with placement tags, per-operator counters aggregated from
the session’s TelemetryHub, and
per-column profiles of the registered
tables. This is what oxide tui --query … renders; without a query the CLI
falls back to the synthetic demo fixture.
Functions§
- plan_
summary - The physical plan as the dashboard’s DAG rows (pre-order, with depths).
- profile_
table - Profiles every column of
table: min, max, null count, and P25/P50/P99 (numeric columns only) — one aggregation query per table. - query_
dashboard - Runs
sqlonsessionto completion and returns the dashboard model for it: the executed plan with placement tags, the aggregated telemetry the run produced, and column profiles fortables.