You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "stalary (via GitHub)" <gi...@apache.org> on 2023/06/13 01:30:46 UTC

[GitHub] [doris] stalary commented on a diff in pull request #20721: [Enhancement](Column) default value for bigint should not has to be quoted

stalary commented on code in PR #20721:
URL: https://github.com/apache/doris/pull/20721#discussion_r1227412187


##########
fe/fe-core/src/main/cup/sql_parser.cup:
##########
@@ -3450,6 +3450,10 @@ opt_default_value ::=
     {:
         RESULT = new ColumnDef.DefaultValue(true, value);
     :}
+    | KW_DEFAULT INTEGER_LITERAL:value

Review Comment:
   Maybe we can support decimal, too?



-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org