mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
sql parser improved window function support, fix #4059
This commit is contained in:
@@ -2299,7 +2299,7 @@ public class SQLExprParser extends SQLParser {
|
||||
accept(Token.RPAREN);
|
||||
}
|
||||
|
||||
private SQLOver.WindowingBound parseWindowingBound() {
|
||||
protected SQLOver.WindowingBound parseWindowingBound() {
|
||||
if (lexer.identifierEquals(FnvHash.Constants.PRECEDING)) {
|
||||
lexer.nextToken();
|
||||
return SQLOver.WindowingBound.PRECEDING;
|
||||
|
||||
Reference in New Issue
Block a user