mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
remove adb testcase
This commit is contained in:
@@ -70,6 +70,7 @@ public class PGLexer extends Lexer {
|
||||
map.put("ILIKE", Token.ILIKE);
|
||||
map.put("MERGE", Token.MERGE);
|
||||
map.put("MATCHED", Token.MATCHED);
|
||||
map.put("PARTITION", Token.PARTITION);
|
||||
|
||||
DEFAULT_PG_KEYWORDS = new Keywords(map);
|
||||
}
|
||||
|
||||
@@ -175,6 +175,11 @@ public class SQLCreateTableParser extends SQLDDLParser {
|
||||
);
|
||||
}
|
||||
|
||||
if (lexer.token() == Token.PARTITION) {
|
||||
SQLPartitionBy partitionClause = parsePartitionBy();
|
||||
createTable.setPartitioning(partitionClause);
|
||||
}
|
||||
|
||||
return createTable;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user