You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Andrew Lamb (Jira)" <ji...@apache.org> on 2021/04/26 12:41:03 UTC

[jira] [Reopened] (ARROW-9746) [Rust][DataFusion] Add FORMAT to explain plan and an easy to visualize format

     [ https://issues.apache.org/jira/browse/ARROW-9746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Lamb reopened ARROW-9746:
--------------------------------

> [Rust][DataFusion] Add FORMAT to explain plan and an easy to visualize format
> -----------------------------------------------------------------------------
>
>                 Key: ARROW-9746
>                 URL: https://issues.apache.org/jira/browse/ARROW-9746
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Rust, Rust - DataFusion
>            Reporter: Andrew Lamb
>            Priority: Major
>
> 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:
> {code}
> EXPLAIN FORMAT GRAPHVIZ SELECT * FROM FOO
> {code}
> which would provide the plan in graphviz format (in addition to text)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)