davidradl commented on code in PR #26438: URL: https://github.com/apache/flink/pull/26438#discussion_r2039560017
########## flink-table/flink-sql-parser/src/test/java/org/apache/flink/sql/parser/FlinkSqlParserImplTest.java: ########## @@ -2478,6 +2478,15 @@ void testDropTemporaryFunction() { .ok("DROP TEMPORARY SYSTEM FUNCTION IF EXISTS `CATALOG1`.`DB1`.`FUNCTION1`"); } + @Test + void testFunctionCall() { + this.expr("foo(x, y)").ok("`FOO`(`X`, `Y`)"); + this.expr("foo(t1.x, t2.y, t3.z)").ok("`FOO`(`T1`.`X`, `T2`.`Y`, `T3`.`Z`)"); + this.expr("foo(*)").ok("`FOO`(*)"); + this.expr("foo(*^,^ x)").fails("(?s).*Encountered \",\" at line 1, column 6.*"); + this.expr("foo(t1.*)").ok("`FOO`(`T1`.*)"); Review Comment: how about a quoted `*` test. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org