Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaochun committed Nov 29, 2018
1 parent e7c1086 commit cf07ecb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fe/src/main/cup/sql_parser.cup
Original file line number Diff line number Diff line change
Expand Up @@ -2955,6 +2955,8 @@ type ::=
{: RESULT = Type.DATE; :}
| KW_DATETIME
{: RESULT = Type.DATETIME; :}
| KW_STRING
{: RESULT = ScalarType.createVarcharType(1); :}
| KW_VARCHAR LPAREN INTEGER_LITERAL:len RPAREN
{: RESULT = ScalarType.createVarcharType(len.intValue()); :}
| KW_VARCHAR
Expand Down

0 comments on commit cf07ecb

Please sign in to comment.