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

[DRAFT] add raw explain #3581

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

rucciva
Copy link

@rucciva rucciva commented Sep 5, 2024

Hello, i would like to propose the addition of new command that simply output yaml containing the result of running EXPLAIN, where each items contains the query, the arguments used when explain, and the raw output.

My motivation are:

  1. CMIIW, the current cel can't provide full assertion since the json output of explain has varying depths based on the query, meanwhile cel can't do dynamic recursion
  2. if we simply output the explain result, we could combine it with other tools, thus the assertion of query explain can be very dynamic

I think the detailed functionality of this subcommand might need further improvement, e.g. whether to allow specifying options to EXPLAIN query or whether we should parse the explain result if it is a formatted (json) output,so feedback are very welcome.

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.

1 participant