EmmyMiao87 commented on code in PR #8906:
URL: https://github.com/apache/incubator-doris/pull/8906#discussion_r846036375


##########
fe/fe-core/src/main/cup/sql_parser.cup:
##########
@@ -544,6 +544,7 @@ precedence left KW_LIKE, KW_REGEXP;
 precedence left EQUAL, LESSTHAN, GREATERTHAN;
 precedence left ADD, SUBTRACT;
 precedence left AT, STAR, DIVIDE, MOD, KW_DIV;
+precedence left KW_EXCEPT;

Review Comment:
   What is the purpose of adding this line?



##########
fe/fe-core/src/main/cup/sql_parser.cup:
##########
@@ -4007,6 +4015,12 @@ select_sublist ::=
         list.addItem(SelectListItem.createStarItem(null));
         RESULT = list;
     :}
+    | select_sublist:list COMMA STAR except_list:exceptList

Review Comment:
   What's this mean ```select a, * except (a)```



-- 
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-unsubscr...@doris.apache.org

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


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

Reply via email to