Skip to content

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

1 participant