radondb / radon

RadonDB is an open source, cloud-native MySQL database for building global, scalable cloud services
https://radondb.io/
GNU General Public License v3.0
1.79k stars 218 forks source link

sqlparser: add support for desc/describle/explain table [col|wild] #700 #704

Closed hustjieke closed 3 years ago

hustjieke commented 3 years ago

[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%

codecov[bot] commented 3 years ago

Codecov Report

Merging #704 (a25a7b3) into master (4eb64ff) will decrease coverage by 0%. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #704   +/-   ##
=====================================
- Coverage      89%    88%   -1%     
=====================================
  Files         130    130           
  Lines        9281   9277    -4     
=====================================
- Hits         8269   8252   -17     
- Misses        670    680   +10     
- Partials      342    345    +3     
Impacted Files Coverage Δ
src/proxy/show.go 82% <100%> (-1%) :arrow_down:
src/proxy/explain.go 63% <0%> (-20%) :arrow_down:
src/backend/xacheck.go 80% <0%> (-2%) :arrow_down:
src/backend/txn.go 86% <0%> (-1%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4eb64ff...a25a7b3. Read the comment docs.

hustjieke commented 3 years ago

Incomplete comments, lack of [summary]

Complete.

zhyass commented 3 years ago

LGTM