hequn8128 opened a new pull request #10913: [FLINK-15636][python] Supports Python UDF in old planner under batch mode URL: https://github.com/apache/flink/pull/10913 ## What is the purpose of the change Currently, Python UDF has been supported under old planner(only stream) and blink planner(stream&batch). This pull request dedicates to add Python UDF support in old planner under batch mode. ## Brief change log - Add rules to convert RelNode to DataSetPythonCalc Node. - Add PythonScalarFunctionFlatMap function to invoke Python ScalarFunctions for the legacy planner. - Add IT Tests. ## Verifying this change This change added tests and can be verified as follows: - Added integration tests for Python UDF(test_udf.test_chaining_scalar_function) and dependency management(test_dependency.test_add_python_file). ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (no) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: ( no) - The serializers: (no) - The runtime per-record code paths (performance sensitive): (no) - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no) - The S3 file system connector: (no) ## Documentation - Does this pull request introduce a new feature? (yes) - If yes, how is the feature documented? (docs)
---------------------------------------------------------------- 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