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

带有union关键字的查询,返回结果显示列不存在 #679

Open
hhw007 opened this issue Sep 13, 2024 · 1 comment
Open

带有union关键字的查询,返回结果显示列不存在 #679

hhw007 opened this issue Sep 13, 2024 · 1 comment

Comments

@hhw007
Copy link

hhw007 commented Sep 13, 2024

描述
goInception的版本为v1.3.0-76-g4082e7a-dirty,这个版本应该已经兼容了带有union关键字的查询,但查询返回结果中errmsg列显示Column 'c.name' not existed
具体操作详情如下:
image

@hhw007
Copy link
Author

hhw007 commented Sep 13, 2024

如果把最外层的查询去掉,sql改为:
select name from qwe where id=5002
union
select name from qwe where id=3006;
返回结果中errmsg显示为None
截图如下:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant