parent
d6ef24811f
commit
fc4860accc
@ -674,6 +674,7 @@ predicate =
|
||||
| concat '*=' concat
|
||||
| concat '=*' concat
|
||||
| row2 'OVERLAPS' row2
|
||||
| 'REGEXP_LIKE' '(' concat ',' concat ')'
|
||||
;
|
||||
|
||||
row2 = [ 'ROW' ] '(' field ',' field ')'
|
||||
|
||||
@ -4191,7 +4191,15 @@ final class ParserImpl implements Parser {
|
||||
|
||||
return exists(select);
|
||||
}
|
||||
else if (parseKeywordIf(ctx, "REGEXP_LIKE")) {
|
||||
parse(ctx, '(');
|
||||
Field<?> f1 = parseField(ctx);
|
||||
parse(ctx, ',');
|
||||
Field<?> f2 = parseField(ctx);
|
||||
parse(ctx, ')');
|
||||
|
||||
return f1.likeRegex((Field) f2);
|
||||
}
|
||||
else {
|
||||
FieldOrRow left;
|
||||
Comparator comp;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user