jnh5y commented on code in PR #25115:
URL: https://github.com/apache/flink/pull/25115#discussion_r1764002232


##########
flink-table/flink-sql-parser/src/test/java/org/apache/flink/sql/parser/FlinkSqlParserImplTest.java:
##########
@@ -448,6 +448,15 @@ void testDescribeModel() {
         sql("desc model catalog1.db1.mdl").ok("DESCRIBE MODEL 
`CATALOG1`.`DB1`.`MDL`");
     }
 
+    @Test
+    void testDescribeFunction() {
+        sql("describe function fn").ok("DESCRIBE FUNCTION `FN`");
+        sql("describe function catalog1.db1.fn").ok("DESCRIBE FUNCTION 
`CATALOG1`.`DB1`.`FN`");
+
+        sql("desc function fn").ok("DESCRIBE FUNCTION `FN`");
+        sql("desc function catalog1.db1.fn").ok("DESCRIBE FUNCTION 
`CATALOG1`.`DB1`.`FN`");

Review Comment:
   Maybe add a test case for `DESCRIBE FUNCTION EXTENDED`?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to