morrySnow commented on code in PR #29251:
URL: https://github.com/apache/doris/pull/29251#discussion_r1437591159


##########
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4:
##########
@@ -760,6 +761,7 @@ constant
     | number                                                                   
                #numericLiteral
     | booleanValue                                                             
                #booleanLiteral
     | STRING_LITERAL                                                           
                #stringLiteral
+    | BINARY STRING_LITERAL                                                    
                #stringLiteral

Review Comment:
   ```suggestion
       | BINARY? STRING_LITERAL                                                 
                   #stringLiteral
   ```



##########
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4:
##########
@@ -897,6 +899,7 @@ nonReserved
     | ARRAY
     | AT
     | AUTHORS
+    | AUTO_INCREMENT

Review Comment:
   need update flex and cup?



##########
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4:
##########
@@ -678,6 +678,7 @@ primaryExpression
     | ATSIGN identifierOrText                                                  
                #userVariable
     | DOUBLEATSIGN (kind=(GLOBAL | SESSION) DOT)? identifier                   
                #systemVariable
     | identifier                                                               
                #columnReference
+    | BINARY identifier                                                        
                #columnReference

Review Comment:
   ```suggestion
       | BINARY? identifier                                                     
                          #columnReference
   ```



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

Reply via email to