Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rust][DataFusion] Add FORMAT to explain plan and an easy to visualize format #25798

Closed
asfimport opened this issue Aug 14, 2020 · 3 comments
Closed

Comments

@asfimport
Copy link
Collaborator

asfimport commented Aug 14, 2020

As suggested by @jorgecarleitao on #7959 (review)

Other formats?

One thing I dislike about spark is that EXPLAIN is in a not-so-nice format to parse programmatically. One idea is to allow explain to return the result in json. This is e.g. useful to construct a visual graph representation of the plan. One idea would be to support another string parameter, format, and make it default to string (not necessarily in this PR).

The typical thing I have used in the past to great effect is graphviz: https://graphviz.org/ and dot – so the idea is that we would get a command like:

EXPLAIN FORMAT GRAPHVIZ SELECT * FROM FOO

which would provide the plan in graphviz format (in addition to text)

Reporter: Andrew Lamb / @alamb

Related issues:

Note: This issue was originally created as ARROW-9746. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

Andy Grove / @andygrove:
I am also a fan of dot and graphviz. Would be great to see this.

@asfimport
Copy link
Collaborator Author

Andrew Lamb / @alamb:
Migrated to github: apache/arrow-rs#94

@asfimport
Copy link
Collaborator Author

Andrew Lamb / @alamb:
Migrated to github: apache/datafusion#96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant