Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
Description
As suggested by jorgecarleitao on https://github.com/apache/arrow/pull/7959#pullrequestreview-467291192 –
> #### 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)
Attachments
Issue Links
- is related to
-
ARROW-10531 [Rust] [DataFusion] Better display for logical plans: Graphviz and Schema information
- Resolved