mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser phoenix support.
This commit is contained in:
@@ -1547,7 +1547,7 @@ public class SQLStatementParser extends SQLParser {
|
||||
|
||||
if (lexer.token() == (Token.LPAREN)) {
|
||||
lexer.nextToken();
|
||||
this.exprParser.exprList(insertStatement.getColumns(), insertStatement);
|
||||
parseInsertColumns(insertStatement);
|
||||
accept(Token.RPAREN);
|
||||
}
|
||||
|
||||
@@ -1573,6 +1573,10 @@ public class SQLStatementParser extends SQLParser {
|
||||
}
|
||||
}
|
||||
|
||||
protected void parseInsertColumns(SQLInsertInto insert) {
|
||||
this.exprParser.exprList(insert.getColumns(), insert);
|
||||
}
|
||||
|
||||
public boolean parseStatementListDialect(List<SQLStatement> statementList) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user