Daft
Daft copied to clipboard
[Plan Visualization] Overhaul tree visualization protocol
The current TreeDisplay
+ multiline_display
visualization protocol for logical/physical plans does not provide enough display flexibility for logical/physical ops with nested structures and/or long descriptions.
We should refactor this to use a protocol that:
- Allows ops and contained structures to expose nesting depth to display consumers.
- Eliminates most boilerplate by leveraging a sensible trait + a derive macro.
- Allows ops and contained structures to expose summary information in case a particular line ends up being too long.