Add \web command to cli

Aperta
#26,903 1 commento 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Start by reading the datafusion-cli command handling and query plan output paths, then review how the DataFusion visualizer could accept a plan. Define how \web obtains and encodes the plan and opens the browser, including any limits on plan size. Done means the command produces a usable visualizer link for a query plan; the issue does not name specific files or tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
Is your feature request related to a problem or challenge?

Sometimes a query plan is large and complex to understand using the text interface.

Describe the solution you'd like

Something like the new .web command in DuckDB, which opens a graphical representation of the plan in a browser:

Image

The interface could be hosted by the DataFusion site (e.g., https://datafusion.apache.org/visualizer). Then a \web command would provide a link like https://datafusion.apache.org/visualizer?plan=<base64_plan>. The plan could also be pasted directly there.

Describe alternatives you've considered

The interface itself is nowadays fairly easy to create, so I've been using this one:

Image

But still I think it would be nice to have this directly supported in datafusion-cli.

Additional context

No response

Willingness to contribute

I would like to contribute to this feature, but request guidance from the DataFusion community

Lingua principale
Rust
Stelle
9.6k
Fork
2.6k
Merge medio
3g 4h
PR unite (30g)
345

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/datafusion

Tutte le issue di apache/datafusion

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.