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

Change the test that verify the query AST to use EXPLAIN instead #2194

Draft
wants to merge 3 commits into
base: mamcx/planner-printer
Choose a base branch
from

Conversation

mamcx
Copy link
Contributor

@mamcx mamcx commented Jan 30, 2025

Description of Changes

Stacked on top of #2075.

This removes the manual matches against the AST to use the new EXPLAIN support, to simplify the tests and make them easier to understand.

API and ABI breaking changes

None

Expected complexity level and risk

1

Testing

  • Most of the current tests pass.
  • There are manual checks still for things we don't support

In concrete, we need support for multi-column indexes, index scans for ranges

@mamcx mamcx added release-any To be landed in any release window no runtime change This change does not affect the final binaries labels Jan 30, 2025
@mamcx mamcx self-assigned this Jan 30, 2025
@mamcx mamcx force-pushed the mamcx/planner-printer branch 6 times, most recently from 419de9e to 3681c2c Compare February 6, 2025 16:57
@mamcx mamcx marked this pull request as draft February 7, 2025 14:34
mamcx added 3 commits February 7, 2025 09:35
* Improve output of plan
* Fix print of alias and the output of joins
* Allow the test utils of the plan to be used elsewhere
* Use the arrow only for nodes, make timing optional
* Apply new clippy hints and remove old test logic
@mamcx mamcx force-pushed the mamcx/query-test-explain branch from 46082fa to d3d1b05 Compare February 7, 2025 17:43
@mamcx mamcx force-pushed the mamcx/planner-printer branch from 45e5e10 to 8ede66f Compare March 5, 2025 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no runtime change This change does not affect the final binaries release-any To be landed in any release window
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant