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

ERROR 1051 (42S02): Unknown table 't2' #20476

Closed
ChenPeng2013 opened this issue Oct 15, 2020 · 1 comment · Fixed by #20977
Closed

ERROR 1051 (42S02): Unknown table 't2' #20476

ChenPeng2013 opened this issue Oct 15, 2020 · 1 comment · Fixed by #20977
Labels
severity/major type/bug The issue is confirmed as a bug.

Comments

@ChenPeng2013
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

drop table if exists t1;
create table t1(a int);
select t1.*, t2.* from t1 join t1 t2 using(a);

2. What did you expect to see? (Required)

mysql> select t1.*, t2.* from t1 join t1 t2;
Empty set (0.00 sec)

3. What did you see instead (Required)

mysql> select t1.*, t2.* from t1 join t1 t2 using(a);
ERROR 1051 (42S02): Unknown table 't2'

4. What is your TiDB version? (Required)

master cd16de8 and release-4.0 c710000

@ti-srebot
Copy link
Contributor

Please edit this comment or add a new comment to complete the following information

Not a bug

  1. Remove the 'type/bug' label
  2. Add notes to indicate why it is not a bug

Duplicate bug

  1. Add the 'type/duplicate' label
  2. Add the link to the original bug

Bug

Note: Make Sure that 'component', and 'severity' labels are added
Example for how to fill out the template: #20100

1. Root Cause Analysis (RCA) (optional)

2. Symptom (optional)

3. All Trigger Conditions (optional)

4. Workaround (optional)

5. Affected versions

6. Fixed versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
3 participants