[#7171] Add support for parsing Oracle outer join
This commit is contained in:
parent
d788264471
commit
feb2f43785
@ -513,7 +513,7 @@ factor = exp { ( '*' | '/' | '%' ) exp }
|
||||
exp = unaryOps { '^' unaryOps }
|
||||
;
|
||||
|
||||
unaryOps = { '+' | '-' } term { '::' dataType }
|
||||
unaryOps = { '+' | '-' } term [ '(+)' ] { '::' dataType }
|
||||
;
|
||||
|
||||
term =
|
||||
|
||||
@ -3489,6 +3489,10 @@ final class ParserImpl implements Parser {
|
||||
else if (part instanceof Field)
|
||||
if (((Field) part).getDataType().getType() == Boolean.class)
|
||||
return condition((Field) part);
|
||||
|
||||
// [#7266] Support parsing column references as predicates
|
||||
else if (part instanceof QualifiedField)
|
||||
return condition((Field) part);
|
||||
else
|
||||
throw ctx.expected("Boolean field");
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user