Add debug parse
command
#45
Labels
status:needs more design
Non-trivial design issues invoved. Ask maintainers before working on
debug parse
command
#45
We need a way to introspect the running database, or debug some issues without either recompiling the db with debug prints or attaching with gdb.
Especially now that I'll be working on query parsing & optimisation, I have a few ideas in mind. Right now I'd like to have something easy -
debug parse
command:Will parse the command
index "hmm" with [gram3]
in this case, pretty print the parsed tree and return it to the user. Expected result is for example:(or whatever the real query tree looks like).
This can be returned as a structured JSON or as plain text - it's intended for debugging so we don't make any guarantees about the output.
The text was updated successfully, but these errors were encountered: