Skip to content

database_observability: Allow fetching explain plans for queries beginning in 'with' #3973

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rgeyer
Copy link
Contributor

@rgeyer rgeyer commented Jul 9, 2025

PR Description

While uncommon, it is acceptable to begin a select query using the WITH verb. See docs.

As such, we should be fetching explain plans for those queries as well.

@fridgepoet
Copy link
Contributor

fridgepoet commented Jul 10, 2025

nice! btw, can we have a test protecting this?

@rgeyer
Copy link
Contributor Author

rgeyer commented Jul 10, 2025

nice! btw, can we have a test protecting this?

Added some for this functionality, and some other low hanging fruit surrounding these queries. Will follow up with more test coverage.

87afe13

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

Successfully merging this pull request may close these issues.

2 participants