Discussion: Support explain(terse)
for queries
#17218
Labels
good first issue
Good for newcomers
help wanted
Issues that need help from contributors
type/feature
Sometimes we just want to get the structure of the query plan, e.g. just see the plan nodes, to quickly check number of joins, type of joins, type of aggregations.
We can support
explain(terse)
for this purpose.Not sure if it will cause a lot of burden for our optimizer. If it does, it's not worth it.To support this is straightforward:
verbose
andterse
being set together.terse
, insideexplain
, rewrite the XMLNode, we can just keep theRecord
name. Then for the fields, only keep the following:The text was updated successfully, but these errors were encountered: