morrySnow commented on code in PR #24041:
URL: https://github.com/apache/doris/pull/24041#discussion_r1318356708
##########
fe/fe-core/src/main/cup/sql_parser.cup:
##########
@@ -6311,6 +6311,8 @@ type ::=
{: RESULT = ScalarType.createVarcharType(-1); :}
| KW_VARCHAR
{: RESULT = ScalarType.createVarcharType(-1); :}
+ | KW_CHAR LPAREN STAR RPAREN
+ {: RESULT = ScalarType.createCharType(-1); :}
Review Comment:
maybe we should let char type to sql return `char` only if length = -1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]