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.8k stars 217 forks source link

sqlparser: complete explain stmt #701 #705

Closed hustjieke closed 3 years ago

hustjieke commented 4 years ago

[summary] complete explain stmt syntax, compatible with MySQL 8.0

[test case] src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/parse_test.go src/proxy/explain_test.go

[patch codecov] src/proxy/explain.go 88.0% src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/ast.go 96.6% src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/constants.go 100% src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/rewriter.go 64.7% src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/sql.go 69.6%

codecov[bot] commented 4 years ago

Codecov Report

Merging #705 (b81bc1a) into master (e3744d0) will increase coverage by 0%. The diff coverage is 80%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #705   +/-   ##
=====================================
  Coverage      88%    89%           
=====================================
  Files         130    130           
  Lines        9277   9264   -13     
=====================================
- Hits         8254   8250    -4     
+ Misses        679    672    -7     
+ Partials      344    342    -2     
Impacted Files Coverage Δ
src/proxy/explain.go 75% <80%> (+12%) :arrow_up:
src/xbase/throttle.go 66% <0%> (-14%) :arrow_down:
src/executor/engine/merge_join.go 96% <0%> (+1%) :arrow_up:

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 e3744d0...b81bc1a. Read the comment docs.