caicancai commented on code in PR #3584:
URL: https://github.com/apache/calcite/pull/3584#discussion_r1427423880


##########
testkit/src/main/java/org/apache/calcite/sql/parser/SqlParserTest.java:
##########
@@ -7140,7 +7140,7 @@ private static Consumer<List<? extends Throwable>> 
checkWarnings(
   @Test void testParensInFrom() {
     // UNNEST may not occur within parentheses.
     // FIXME should fail at "unnest"
-    sql("select *from (^unnest(x)^)")
+    sql("select * from (^unnest(x)^)")

Review Comment:
   ```java
   sql("select * from (^unnest(x)^)")
           .fails("Expected query or join");
   ```
   At present, the error message of fail is wrong and no information about 
unset is returned.



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

Reply via email to