ArroyoSystems / arroyo

Distributed stream processing engine in Rust
https://arroyo.dev
Apache License 2.0
3.8k stars 220 forks source link

Add a new `arroyo visualize` command to help debug query plans #757

Closed mwylde closed 1 month ago

mwylde commented 1 month ago

This PR adds a new command to arroyo, which generates visualizations (using d2lang) of the query plans.

$ arroyo visualize --open crates/arroyo-sql-testing/src/test/queries/select_star.sql

produces a visualization that looks like this plan