-
Notifications
You must be signed in to change notification settings - Fork 281
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
[Bug]: When using load data inline to import data, errors may occur if there are semicolons in the data #16790
Closed
1 task done
Labels
kind/bug
Something isn't working
no-pr-linked
Issue Closed without PR
severity/s0
Extreme impact: Cause the application to break down and seriously affect the use
Milestone
Comments
aronchanisme
added
severity/s0
Extreme impact: Cause the application to break down and seriously affect the use
mysql-compability
labels
Jun 27, 2024
not working ont it |
如上面截图所示,回退到issue的commit,按照issue中的步骤,是可以成功插入的,结果也是符合预期的,这种语法错误应该是必现的,怀疑是不是当时使用错误导致报错。 |
这个issue报错原因就是由于mysql客户端用分号作为切割,issue里面的load,会当成两条sql发到服务端,所以报语法错误。今天在8.0和8.3的mysql客户端都试了,8.3的客户端发到服务端的是一条sql,没有做切割(所以load成功,如我上面贴的load成功的图就是在8.3的客户端测试的。所以解决这个问题,建议升级到8.3看看 |
@gaoy121用8.3.0的客户端试了,满足要求,issue关了 |
closing it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/bug
Something isn't working
no-pr-linked
Issue Closed without PR
severity/s0
Extreme impact: Cause the application to break down and seriously affect the use
Is there an existing issue for the same bug?
Branch Name
v1.2.0
Commit ID
5522522
Other Environment Information
Actual Behavior
执行如下load data 语句报错(数据部分 Shanxi;XiAn 带分号):
报错信息如下:
Expected Behavior
No response
Steps to Reproduce
Additional information
No response
The text was updated successfully, but these errors were encountered: