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

select virtual generated column can't find the column #27272

Closed
wjhuang2016 opened this issue Aug 17, 2021 · 3 comments · Fixed by #27275
Closed

select virtual generated column can't find the column #27272

wjhuang2016 opened this issue Aug 17, 2021 · 3 comments · Fixed by #27275
Labels

Comments

@wjhuang2016
Copy link
Member

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

create table t(a int, b int as (a+1), key((a+1)), key(b));
desc format = 'brief' select a+1 from t;

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

No error

3. What did you see instead (Required)

Can't find column b;

4. What is your TiDB version? (Required)

master

@winoros
Copy link
Member

winoros commented Aug 17, 2021

/assign

@winoros
Copy link
Member

winoros commented Aug 17, 2021

/unassign

@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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants