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

[feature] support DESCRIBE Statement #700

Closed
hustjieke opened this issue Nov 12, 2020 · 0 comments
Closed

[feature] support DESCRIBE Statement #700

hustjieke opened this issue Nov 12, 2020 · 0 comments
Assignees
Labels
P0 High priority type: feature

Comments

@hustjieke
Copy link
Contributor

MySQL 8.0 syntax:

{EXPLAIN | DESCRIBE | DESC}
    tbl_name [col_name | wild]

This statement will be changed to show columns from table or show columns from table like wild if has wild option.

@hustjieke hustjieke added type: feature P0 High priority labels Nov 12, 2020
@hustjieke hustjieke self-assigned this Nov 12, 2020
hustjieke added a commit to hustjieke/radon that referenced this issue Nov 12, 2020
…dondb#700

add support for describle stmt.
[test case]
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/explain_test.go
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/parse_test.go

[patch codecov]
src/proxy/show.go 90.0%
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/ast.go 96.6%
hustjieke added a commit to hustjieke/radon that referenced this issue Nov 13, 2020
…dondb#700

add support for describle stmt.
[test case]
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/explain_test.go
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/parse_test.go

[patch codecov]
src/proxy/show.go 90.0%
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/ast.go 96.6%
hustjieke added a commit to hustjieke/radon that referenced this issue Nov 18, 2020
…dondb#700

[summary]
add support for describle stmt.
[test case]
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/explain_test.go
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/parse_test.go

[patch codecov]
src/proxy/show.go 90.0%
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/ast.go 96.6%
hustjieke added a commit to hustjieke/radon that referenced this issue Nov 18, 2020
…dondb#700

[summary]
add support for describle stmt.
[test case]
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/explain_test.go
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/parse_test.go

[patch codecov]
src/proxy/show.go 90.0%
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/ast.go 96.6%
hustjieke added a commit to hustjieke/radon that referenced this issue Nov 18, 2020
BohuTANG added a commit that referenced this issue Nov 19, 2020
sqlparser: add support for desc/describle/explain table [col|wild] #700
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 High priority type: feature
Projects
None yet
Development

No branches or pull requests

1 participant