beyond1920 commented on a change in pull request #17684:
URL: https://github.com/apache/flink/pull/17684#discussion_r775808275



##########
File path: 
flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/planner/plan/stream/sql/WindowTableFunctionTest.scala
##########
@@ -86,6 +87,17 @@ class WindowTableFunctionTest extends TableTestBase {
     util.verifyRelPlan(sql)
   }
 
+  @Test
+  def testCumulateTVFProctime(): Unit = {
+    val sql =
+      """
+        |SELECT *
+        |FROM TABLE(
+        | CUMULATE(TABLE MyTable, DESCRIPTOR(proctime), INTERVAL '10' MINUTE, 
INTERVAL '1' HOUR))
+        |""".stripMargin
+    util.verifyExplain(sql)

Review comment:
       I original use util.verifyExecPlan() in order to cover the original 
`WindowTableFunctionTest#testUnsupported` could work fine now.
   However, I think I could use `util.verifyExecPlan()` because 
`WindowTableFunctionITCase` already cover this.




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