mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved pg parser, support array datatype
This commit is contained in:
@@ -3836,6 +3836,8 @@ public class SQLExprParser extends SQLParser {
|
||||
|
||||
if (lexer.identifierEquals(FnvHash.Constants.ARRAY)) {
|
||||
return parseDataTypeRest(charType);
|
||||
} else if (lexer.token == Token.LBRACKET) {
|
||||
return parseDataTypeRest(charType);
|
||||
}
|
||||
|
||||
return charType;
|
||||
|
||||
Reference in New Issue
Block a user