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

Ambiguous field identifier when parsing unions with unqualified columns and parseWithMetaLookups #10968

Closed
lukaseder opened this issue Nov 18, 2020 · 2 comments

Comments

@lukaseder
Copy link
Member

lukaseder commented Nov 18, 2020

Given this schema:

create table t1 (a int);
create table t2 (a int);

Parsing this valid SQL:

select a
from t1
union all
select a
from t2

Yields:

Ambiguous field identifier: [2:1] select a
[*]from t1
union all
select a
from t2

Related: #10699

@lukaseder
Copy link
Member Author

Not a 3.15 regression, the issue is also present in 3.14.4

@lukaseder
Copy link
Member Author

Fixed in jOOQ 3.15.0 and 3.14.4 (#10969)

lukaseder added a commit that referenced this issue Nov 18, 2020
lukaseder added a commit that referenced this issue Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant