parser: support DELETE FROM ... AS ... syntax#383
Conversation
|
(Integration test requires pingcap/tidb#11184 to pass) |
|
PTAL @tiancaiamao @shenli |
|
Hi kennytm, i try to run this SQL in MySQL 8.0, but failed. |
|
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-16.html
|
Codecov Report
@@ Coverage Diff @@
## master #383 +/- ##
=========================================
Coverage ? 70.11%
=========================================
Files ? 32
Lines ? 7394
Branches ? 0
=========================================
Hits ? 5184
Misses ? 1698
Partials ? 512
Continue to review full report at Codecov.
|
|
hi @kennytm , please update TiDB test case: (write_test.go:1747: |
What problem does this PR solve?
Fix issue pingcap/tidb#11173. The
DELETE FROM ... AS ...syntax was introduced in MySQL 8.0.16.What is changed and how it works?
Recognize the new syntax in the parser.
Check List
Tests
Code changes
Side effects
Related changes