Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

sql/(parse,plan): implement describe queries #222

Merged
merged 1 commit into from
Jun 15, 2018

Conversation

erizocosmico
Copy link
Contributor

Closes #216

engine_test.go Outdated
@@ -491,6 +503,8 @@ func testQuery(t *testing.T, e *sqle.Engine, q string, r []sql.Row) {
rs = append(rs, row)
}

spew.Dump(rs)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leftover?

@erizocosmico
Copy link
Contributor Author

erizocosmico commented Jun 14, 2018 via email

@erizocosmico
Copy link
Contributor Author

Fixed @ajnavarro

@ajnavarro
Copy link
Contributor

@erizocosmico I think you need to rebase.

Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
@erizocosmico
Copy link
Contributor Author

Done

err *errors.Kind
}{
{
"DESCRIBE TABLE foo",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Describe table should work too. Is it still being parsed somewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, just not here

@ajnavarro ajnavarro merged commit 8ba0d12 into src-d:master Jun 15, 2018
@erizocosmico erizocosmico deleted the feature/explain branch June 15, 2018 14:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants