Add \web command to cli

Offen
#26,903 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
45/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
rust

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Rust
Sterne
9.6k
Forks
2.6k
Ø Merge
3 T. 4 Std.
Gemergte PRs (30 T.)
345

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus apache/datafusion

Alle Issues in apache/datafusion

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.