mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fix build error & improve pg support
This commit is contained in:
@@ -184,7 +184,7 @@ public class SQLCreateTableParser extends SQLDDLParser {
|
||||
}
|
||||
|
||||
public SQLPartitionBy parsePartitionBy() {
|
||||
throw new ParserException("TODO " + lexer.info());
|
||||
return null;
|
||||
}
|
||||
|
||||
protected SQLTableElement parseCreateTableSupplementalLogingProps() {
|
||||
|
||||
@@ -3343,6 +3343,9 @@ public class SQLStatementParser extends SQLParser {
|
||||
} else if (lexer.identifierEquals(Constants.RESOURCE)) {
|
||||
lexer.reset(markBp, markChar, Token.CREATE);
|
||||
return parseCreateResourceGroup();
|
||||
} else if (lexer.token() == FOREIGN) {
|
||||
lexer.reset(markBp, markChar, Token.CREATE);
|
||||
return parseCreateTable();
|
||||
}
|
||||
|
||||
throw new ParserException("TODO " + lexer.info());
|
||||
|
||||
Reference in New Issue
Block a user