libenchao commented on code in PR #2938: URL: https://github.com/apache/calcite/pull/2938#discussion_r1003928315
########## testkit/src/main/java/org/apache/calcite/sql/parser/SqlParserTest.java: ########## @@ -3749,26 +3774,26 @@ void checkPeriodPredicate(Checker checker) { + "select * from e except " + "select * from f union " + "select * from g"; - final String expected = "((((SELECT *\n" + final String expected = "SELECT *\n" Review Comment: Since we are changing `SET_QUERY` to non-expression, could you also add a test case to make sure the precedence for set operators could work well? such as `(select * from a union select * from b) intersect select * from c` should be unparsed as is. -- 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...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org