[#5955] All standard data types
This commit is contained in:
parent
c07c908a05
commit
d33e9a8a48
@ -4577,7 +4577,8 @@ class ParserImpl implements Parser {
|
||||
return SQLDataType.DATE;
|
||||
else if (parseKeywordIf(ctx, "DECIMAL"))
|
||||
return parseDataTypePrecisionScale(ctx, SQLDataType.DECIMAL);
|
||||
else if (parseKeywordIf(ctx, "DOUBLE"))
|
||||
else if (parseKeywordIf(ctx, "DOUBLE PRECISION") ||
|
||||
parseKeywordIf(ctx, "DOUBLE"))
|
||||
return SQLDataType.DOUBLE;
|
||||
else
|
||||
throw ctx.unexpectedToken();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user