imay commented on a change in pull request #2459: fix operator priority
URL: https://github.com/apache/incubator-doris/pull/2459#discussion_r357906639
 
 

 ##########
 File path: fe/src/main/cup/sql_parser.cup
 ##########
 @@ -429,9 +429,9 @@ precedence left KW_NOT, NOT;
 precedence left KW_BETWEEN, KW_IN, KW_IS, KW_EXISTS;
 precedence left KW_LIKE, KW_REGEXP;
 precedence left EQUAL, LESSTHAN, GREATERTHAN;
-precedence left KW_PIPE;
 precedence left ADD, SUBTRACT;
 precedence left AT, STAR, DIVIDE, MOD, KW_DIV;
+precedence left KW_PIPE;
 
 Review comment:
   Are you sure that PIPE has less priority than bit operation?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to