luoyuxia commented on code in PR #22994:
URL: https://github.com/apache/flink/pull/22994#discussion_r1264953744


##########
flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/runtime/stream/sql/ProcedureITCase.java:
##########
@@ -110,40 +111,72 @@ void testShowProcedures() {
                 CollectionUtil.iteratorToList(
                         tEnv().executeSql("show procedures in `system` not 
like 'generate%'")
                                 .collect());
-        assertThat(rows.toString())
-                .isEqualTo("[+I[get_year], +I[miss_procedure_context], 
+I[sum_n]]");
+        assertThat(rows.toString()).isEqualTo("[+I[get_year], +I[sum_n]]");
 
         // show procedure with not ilike
         rows =
                 CollectionUtil.iteratorToList(
                         tEnv().executeSql("show procedures in `system` not 
ilike 'generaTe%'")
                                 .collect());
-        assertThat(rows.toString())
-                .isEqualTo("[+I[get_year], +I[miss_procedure_context], 
+I[sum_n]]");
+        assertThat(rows.toString()).isEqualTo("[+I[get_year], +I[sum_n]]");
+    }
+
+    @Test
+    void testCallProcedure() {

Review Comment:
   Actaully, the procedure `generate_n` will submitting Flink jobs to get 
result.



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