You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/09/08 02:41:47 UTC

[GitHub] [doris] Kikyou1997 commented on a diff in pull request #12444: [feature](nereids)add syntax support for double/float

Kikyou1997 commented on code in PR #12444:
URL: https://github.com/apache/doris/pull/12444#discussion_r965451149


##########
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisLexer.g4:
##########
@@ -433,13 +433,13 @@ DECIMAL_VALUE
     ;
 
 FLOAT_LITERAL
-    : DIGIT+ EXPONENT? 'F'
-    | DECIMAL_DIGITS EXPONENT? 'F' {isValidDecimal()}?
+    : DIGIT+ EXPONENT? 'F'?

Review Comment:
   Is there a way to remove the suffix support  from FLOAT/DOUBLE's lex, since Doris doesn't have such lex



-- 
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