littleeleventhwolf commented on code in PR #8906: URL: https://github.com/apache/incubator-doris/pull/8906#discussion_r847029355
########## 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: Because `select * except (field)` always match syntax below. ``` select_list ::= ... ... | STAR {: SelectList list = new SelectList(); list.addItem(SelectListItem.createStarItem(null)); RESULT = list; :} ``` -- 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