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 SHOW FULL COLUMNS #533

Closed
andyli029 opened this issue Nov 20, 2019 · 1 comment
Closed

[feature] support SHOW FULL COLUMNS #533

andyli029 opened this issue Nov 20, 2019 · 1 comment
Assignees
Labels
P2 Low priority
Milestone

Comments

@andyli029
Copy link
Contributor

andyli029 commented Nov 20, 2019

Summary

Already supported:SHOW COLUMNS
need support:SHOW FULL COLUMNS

mysql> SHOW FULL COLUMNS FROM `wubx`;
ERROR 1149 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use, syntax error at position 18 near 'columns'
mysql> SHOW COLUMNS FROM `wubx`;
+-------+-------------+------+-----+---------+-------+
| Field | Type        | Null | Key | Default | Extra |
+-------+-------------+------+-----+---------+-------+
| ID    | int(11)     | YES  |     | NULL    |       |
| a     | int(11)     | NO   | PRI | NULL    |       |
| b     | varchar(25) | YES  |     | NULL    |       |
| c     | int(11)     | YES  |     | NULL    |       |
+-------+-------------+------+-----+---------+-------+
@andyli029 andyli029 added the P2 Low priority label Nov 20, 2019
zhyass pushed a commit to zhyass/radon that referenced this issue Dec 30, 2019
zhyass pushed a commit to zhyass/radon that referenced this issue Dec 30, 2019
zhyass added a commit to zhyass/radon that referenced this issue Dec 30, 2019
zhyass added a commit to zhyass/radon that referenced this issue Dec 30, 2019
zhyass added a commit to zhyass/radon that referenced this issue Dec 31, 2019
[summary]
Support show full columns from table where...
[test case]
src/proxy/show_test.go
[patch codecov]
src/proxy/query.go 87.9%
src/proxy/show.go 89.6%
zhyass added a commit to zhyass/radon that referenced this issue Dec 31, 2019
[summary]
Support show full columns from table where...
[test case]
src/proxy/show_test.go
[patch codecov]
src/proxy/query.go 87.9%
src/proxy/show.go 89.6%
zhyass added a commit to zhyass/radon that referenced this issue Dec 31, 2019
[summary]
Support show full columns from table where...
[test case]
src/proxy/show_test.go
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/show_test.go
[patch codecov]
src/proxy/query.go 87.9%
src/proxy/show.go 89.6%
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser 91.7%
zhyass added a commit to zhyass/radon that referenced this issue Jan 2, 2020
[summary]
Support show full columns from table where...
[test case]
src/proxy/show_test.go
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/show_test.go
[patch codecov]
src/proxy/query.go 87.9%
src/proxy/show.go 89.6%
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/ast.go 85.9%
zhyass added a commit to zhyass/radon that referenced this issue Jan 2, 2020
[summary]
Support show full columns from table where...
[test case]
src/proxy/show_test.go
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/show_test.go
[patch codecov]
src/proxy/query.go 87.9%
src/proxy/show.go 89.6%
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/ast.go 85.9%
@zhyass
Copy link
Contributor

zhyass commented Jan 3, 2020

SHOW [FULL] {COLUMNS | FIELDS} 
FROM tbl_name
[LIKE 'pattern' | WHERE expr]

BohuTANG pushed a commit that referenced this issue Jan 6, 2020
[summary]
Support show full columns from table where...
[test case]
src/proxy/show_test.go
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/show_test.go
[patch codecov]
src/proxy/query.go 87.9%
src/proxy/show.go 89.6%
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/ast.go 85.9%
@BohuTANG BohuTANG closed this as completed Jan 6, 2020
@zhyass zhyass added this to the v1.0.9 milestone Jan 6, 2020
zhyass added a commit to zhyass/radon that referenced this issue Jan 10, 2020
[summary]
add `SHOW FULL COLUMNS\TABLES`, update the index.
[test case]
N/A
[patch codecov]
N/A
zhyass added a commit to zhyass/radon that referenced this issue Jan 10, 2020
[summary]
add `SHOW FULL COLUMNS\TABLES`, update the index.
[test case]
N/A
[patch codecov]
N/A
BohuTANG pushed a commit that referenced this issue Jan 11, 2020
[summary]
add `SHOW FULL COLUMNS\TABLES`, update the index.
[test case]
N/A
[patch codecov]
N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Low priority
Projects
None yet
Development

No branches or pull requests

4 participants