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


##########
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:
   It's up to the user to decide their own select_list. If user give sql 
`select a, * except (a)`, field `a` before comma also be projected, `* except 
(a)` after comma will remove `a` from all columns and then be projected.



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