sql parser improved window function support, fix #4059

This commit is contained in:
高铁
2020-12-12 20:09:33 +08:00
parent ae675fec72
commit 031fede035
7 changed files with 72 additions and 8 deletions
@@ -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;