You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change adds support for displaying a distributed EXPLAIN ANALYZE output. It updates the TPCH
validation tests to assert the EXPLAIN ANALYZE output for each query.
Implemenation notes:
- Adds `src/explain.rs` to stores the main entrypoint to rendering the output string
- I left a TODO about pushing some of the work to `DistributedExec` or a new node type
- Adds a `Option<DisplayCtx>` field to `DistributedExec` to contain extra information for display purposes.
- We use this to smuggle the information into `display_plan_ascii` because its only relevant in the
distributed case
- Then, at display-time, when displaying a task, we re-write each task plan to use the metrics
from the `DislplayCtx`
Informs: #123
Remaning work:
- disable any metrics propagation if not running EXPLAIN ANALYZE as it adds extra overhead
- consider refactoring explain.rs
- graphviz
- add docs + exalidraw to explain the metrics protocol
0 commit comments