Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-9654

[Rust][DataFusion] Add an EXPLAIN command to the datafusion CLI

    XMLWordPrintableJSON

    Details

      Description

      In order to understand what DataFusion's planner is doing, it would be helpful to have an "EXPLAIN PLAN" feature. All other database systems I have worked with have such a feature (e.g. see MySql).

      I have found EXPLAIN helpful for both users but also very much developers.

      The feature would look something like

      EXPLAIN <sql>
      

      Which would then print a string with the logical plan. One way to implement this would simply be to use the debugging printout of the logical and physical plans

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alamb Andrew Lamb
                Reporter:
                alamb Andrew Lamb
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m