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

Add EXPLAIN statement #102

Merged
merged 16 commits into from
Jun 28, 2020
Merged

Add EXPLAIN statement #102

merged 16 commits into from
Jun 28, 2020

Conversation

asdine
Copy link
Collaborator

@asdine asdine commented Jun 24, 2020

This PR adds basic support for the EXPLAIN statement. If the query is a SELECT, UPDATE or DELETE, It displays the query plan tree, otherwise, it returns an error.
This PR also contains some fixes on how values are marshaled into JSON

@asdine asdine added this to the v0.6.0 milestone Jun 24, 2020
@asdine asdine changed the base branch from ast to master June 24, 2020 06:31
document/json.go Outdated Show resolved Hide resolved
sql/parser/explain.go Outdated Show resolved Hide resolved
sql/parser/explain.go Outdated Show resolved Hide resolved
@asdine asdine merged commit 2435700 into master Jun 28, 2020
@asdine asdine deleted the explain branch June 28, 2020 08:41
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