Dandandan opened a new issue #221:
URL: https://github.com/apache/arrow-datafusion/issues/221


   **Describe the bug**
   The `EXPLAIN` command is useful to show the plan of the query engine. 
However, the current output shows the un-optimized logical plan, which is not 
very useful as it maps almost 1:1 to the query.
   
   **To Reproduce**
   ```sql
   
   explain select price from example;
   +--------------+--------------------------------------+
   | plan_type    | plan                                 |
   +--------------+--------------------------------------+
   | logical_plan | Projection: #price                   |
   |              |   TableScan: example projection=None |
   +--------------+--------------------------------------+
   1 rows in set. Query took 0 seconds.
   ```
   
   **Expected behavior**
   Explain without verbose should show a optimized non-verbose plan.
   
   **Additional context**
   Some other issues:
   https://github.com/apache/arrow-datafusion/issues/219#issuecomment-829202935
   https://github.com/apache/arrow-datafusion/issues/96


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to