refactor sql parser.

This commit is contained in:
wenshao
2017-06-10 07:40:05 +08:00
parent 7c4a43d2c5
commit 5434b65260
310 changed files with 1067 additions and 1091 deletions
@@ -65,8 +65,9 @@ public class OdpsStatementParser extends SQLStatementParser {
}
public SQLSelectStatement parseSelect() {
OdpsSelectParser selectParser = new OdpsSelectParser(this.exprParser);
return new SQLSelectStatement(selectParser.select(), JdbcConstants.ODPS);
return new SQLSelectStatement(
new OdpsSelectParser(this.exprParser)
.select(), JdbcConstants.ODPS);
}
public SQLCreateTableStatement parseCreateTable() {