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
can't find schema when insert into ON DUPLICATE
#14164
Comments
Another case:
drop table a;
drop table b;
create table a (x int);
create table b (x int);
insert into a select if(x, 1, 2) x from b ON DUPLICATE KEY UPDATE a.x=b.x;
|
Better to fix it in v3.0.9 |
insert into ON DUPLICATE
insert into ON DUPLICATE
Due to "The feature can not work in its main workflow", I change the severity to cirtical. |
Please edit this comment or add a new comment to complete the following informationNot a bug
Duplicate bug
BugNote: Make Sure that 'component', and 'severity' labels are added 1. Root Cause Analysis (RCA) (optional)MySQL's behavior is somehow against logic. So TiDB wasn't compatible with it before. 2. Symptom (optional)The SQL mentioned in the issue will report error. 3. All Trigger Conditions (optional)See issue body. 4. Workaround (optional)No. 5. Affected versions[v4.0.1:v4.0.10], unreleased 6. Fixed versionsmaster |
Rejected in 4.0.16 bug triage |
Bug Report
Please answer these questions before submitting your issue. Thanks!
If possible, provide a recipe for reproducing the error.
ERROR 1054 (42S22): Unknown column 'b.y' in 'field list'
tidb-server -V
or runselect tidb_version();
on TiDB)?The text was updated successfully, but these errors were encountered: