[jOOQ/jOOQ#10968] Ambiguous field identifier when parsing unions with unqualified columns and parseWithMetaLookups

This commit is contained in:
Lukas Eder 2020-11-18 15:07:36 +01:00
parent 04bf96f734
commit f70ef59fe8

View File

@ -1352,6 +1352,9 @@ final class ParserImpl implements Parser {
CombineOperator combine;
while ((combine = parseCombineOperatorIf(ctx, false)) != null) {
ctx.scopeEnd();
ctx.scopeStart();
if (degree == null)
degree = Tools.degree(result);
@ -1381,6 +1384,9 @@ final class ParserImpl implements Parser {
CombineOperator combine;
while ((combine = parseCombineOperatorIf(ctx, true)) != null) {
ctx.scopeEnd();
ctx.scopeStart();
if (degree == null)
degree = Tools.degree(result);