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

测试发现Gaea不支持delete语句中的别名操作 #273

Closed
lulufeiacount opened this issue Sep 26, 2024 · 5 comments
Closed

测试发现Gaea不支持delete语句中的别名操作 #273

lulufeiacount opened this issue Sep 26, 2024 · 5 comments

Comments

@lulufeiacount
Copy link

测试发现Gaea不支持delete语句中的别名操作,MySQL8.0.16版本开始支持单表删除别名语法,Gaea测试会报语法错误,能不能兼容呢?

image

Copy link

Thank you for raising an issue. We will try and get back to you as soon as possible. Please make sure you have given us as much context as possible.

@xiyangxixian
Copy link
Contributor

这个测试方法走的是 parser 的逻辑,没有分库分表的情况下,现在执行逻辑不走 parser 了,上述 SQL 是可以执行的

@lulufeiacount
Copy link
Author

就是分库分表场景下需要执行删除SQL中带别名的情况,我去看了目前最新的tidb-parser是支持此语法的,不知道Gaea这边何时兼容一下

@gongna-au
Copy link
Collaborator

非常感谢您提出该Issue,经过内部讨论,我们已经决定在 2.4.4 版本支持该语法🌹(到时候会同步Release Github

@lulufeiacount
Copy link
Author

好的,感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants