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