hequn8128 commented on a change in pull request #11051: [FLINK-15961][table-planner][table-planner-blink] Introduce Python Physical Correlate RelNodes which are containers for Python TableFunction URL: https://github.com/apache/flink/pull/11051#discussion_r379234497
########## File path: flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/plan/batch/table/CorrelateTest.scala ########## @@ -117,4 +116,15 @@ class CorrelateTest extends TableTestBase { util.verifyPlan(result) } + + @Test + def testCorrelatePythonTableFunction(): Unit = { + val util = batchTestUtil() + val sourceTable = util.addTableSource[(Int, Int, String)]("MyTable", 'a, 'b, 'c) + val func = new PythonTableFunction + util.addFunction("pyFunc", func) Review comment: We don't need to register the function here. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services