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

The non-verbose EXPLAIN statement doesn't show optimized logical plan #221

Closed
Dandandan opened this issue Apr 29, 2021 · 0 comments · Fixed by #744
Closed

The non-verbose EXPLAIN statement doesn't show optimized logical plan #221

Dandandan opened this issue Apr 29, 2021 · 0 comments · Fixed by #744
Labels
bug Something isn't working

Comments

@Dandandan
Copy link
Contributor

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

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:
#219 (comment)
#96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant