bug fixed for sql parser.

This commit is contained in:
wenshao
2017-01-18 11:36:30 +08:00
parent c75a3b52e0
commit a84cdc70a0
11 changed files with 428 additions and 3 deletions
@@ -991,6 +991,10 @@ public class SQLStatementParser extends SQLParser {
}
stmt.addItem(item);
} else if (JdbcConstants.ODPS.equals(dbType) && identifierEquals("MERGE")) {
lexer.nextToken();
acceptIdentifier("SMALLFILES");
stmt.setMergeSmallFiles(true);
} else {
break;
}