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

Intellij IDEA database plugin return an error "Unknown column 'generation_expression' in 'field list'" #6949

Closed
zhenruyan opened this issue Jun 30, 2018 · 4 comments · Fixed by #7017
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. type/compatibility

Comments

@zhenruyan
Copy link

Error encountered when performing Introspect schema xlqy: Unknown column 'generation_expression' in 'field list'.
Unknown column 'generation_expression' in 'field list'

@jackysp jackysp changed the title idea 的mysql客户端会报异常,Unknown column 'generation_expression' in 'field list' Intellij IDEA database plugin return an error "Unknown column 'generation_expression' in 'field list'" Jun 30, 2018
@jackysp
Copy link
Member

jackysp commented Jun 30, 2018

Thank you for your report! @zhenruyan
Database plugin of Intellij IDEA will send some SQL automatically. One of them is

select  ordinal_position,  column_name,  column_type, column_default,/* null */  generation_expression,  table_name,  column_comment,  is_nullable,  extra,  collation_name from information_schema.columns where table_schema = 'test' order by table_name, ordinal_position

But TiDB does not have column generation_expression in its information_schema.columns. I guess the plugin wants to return some meta data of the table you touched.

@jackysp jackysp added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Jun 30, 2018
@zhenruyan
Copy link
Author

Thank you very much. Does tidb plan to add this function in the future?

@jackysp
Copy link
Member

jackysp commented Jul 5, 2018

We will fix it soon.

@jackysp
Copy link
Member

jackysp commented Jul 9, 2018

Fixed by #7017 , @zhenruyan
Please try the latest master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. type/compatibility
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants