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

Improve formatting of logical plans containing subquery expressions #2898

Closed
andygrove opened this issue Jul 13, 2022 · 0 comments · Fixed by #2899
Closed

Improve formatting of logical plans containing subquery expressions #2898

andygrove opened this issue Jul 13, 2022 · 0 comments · Fixed by #2899
Assignees
Labels
enhancement New feature or request

Comments

@andygrove
Copy link
Member

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
When we implemented subqueries in the logical plan, we did not update the display logic, and the plans are hard to read because the indentation is not correct.

Describe the solution you'd like
Fix the formatting. Here is a proposal:

Projection: #employee_csv.id
  Filter: #employee_csv.state IN (<subquery>)
    Subquery:
      TableScan: employee_csv projection=[state]
    TableScan: employee_csv projection=[id, state]

Describe alternatives you've considered
None

Additional context
None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant