mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fixed sonar rule violations
This commit is contained in:
@@ -73,9 +73,9 @@ public class PGExprParser extends SQLExprParser{
|
||||
|
||||
over.setOrderBy(parseOrderBy());
|
||||
|
||||
if (over.getOrderBy() != null) {
|
||||
//TODO window
|
||||
}
|
||||
// if (over.getOrderBy() != null) {
|
||||
// //TODO window
|
||||
// }
|
||||
|
||||
accept(Token.RPAREN);
|
||||
aggregateExpr.setOver(over);
|
||||
|
||||
@@ -147,9 +147,6 @@ public class PGSelectParser extends SQLSelectParser {
|
||||
|
||||
if (lexer.token() == Token.ROW || lexer.token() == Token.ROWS) {
|
||||
lexer.nextToken();
|
||||
} else {
|
||||
// TODO
|
||||
// throw new ParserException("expect 'ROW' or 'ROWS'");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user