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 when executing insert select where table has generated column #7064

Closed
winoros opened this issue Jul 16, 2018 · 0 comments · Fixed by #7068
Closed

Error when executing insert select where table has generated column #7064

winoros opened this issue Jul 16, 2018 · 0 comments · Fixed by #7068
Assignees
Labels
type/bug The issue is confirmed as a bug.

Comments

@winoros
Copy link
Member

winoros commented Jul 16, 2018

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    If possible, provide a recipe for reproducing the error.
create table t(a int, b int as (a+1), c int);
insert into t (a) select a from t;
insert into t (a, c) select a, c from t;
  1. What did you expect to see?

No error.

  1. What did you see instead?

Error returned.

  1. What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?

cf8a412

@winoros winoros added the type/bug The issue is confirmed as a bug. label Jul 16, 2018
@winoros winoros self-assigned this Jul 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant