WeiZhong94 opened a new pull request #11448: [FLINK-16666][python][table] Support new Python dependency configuration options in flink-java, flink-streaming-java and flink-table. URL: https://github.com/apache/flink/pull/11448 ## What is the purpose of the change *This pull request adds basic support for the proposed Python Dependency configuration options in `flink-java`, `flink-streaming-java` and `flink-table`. The python dependencies will be registered to distributed cache while the `configure()` method of `ExecutionEnvironment`/`StreamExecutionEnvironment` is called. The metadata of Python dependencies will be transfer to TableConfig and convert to PythonConfig when translating the Python UDF RelNode to Python UDF Operator. * ## Brief change log - *Move `PythonOptions` to `flink-core`.* - *Define the new Python Dependency configuration options in `PythonOptions`.* - *Add `PythonDependencyManager` and use it to process the Python Dependency configuration options while the `configure()` method of `ExecutionEnvironment`/`StreamExecutionEnvironment` is called.* - *Change access level of the `StreamExecutionEnvironment#getConfiguration()` method from `protected` to `public` and add `@Internal` annotation.* - *Transfer the metadata of Python dependencies from the configuration of the `ExecutionEnvironment`/`StreamExecutionEnvironment` to TableConfig before translating the Table API job.* ## Verifying this change This change is already covered by existing tests, such as *PythonOptionsTest*, *PythonDependencyManagerTest*. ## 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, Kubernetes/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