dianfu commented on a change in pull request #10017: [FLINK-14019][python] add
support for managing environment and dependencies of Python UDF in Flink Python
API
URL: https://github.com/apache/flink/pull/10017#discussion_r348872684
##########
File path:
flink-python/src/main/java/org/apache/flink/table/runtime/operators/python/PythonScalarFunctionOperator.java
##########
@@ -106,15 +107,16 @@ public void emitResults() {
}
@Override
- public PythonFunctionRunner<Row>
createPythonFunctionRunner(FnDataReceiver<Row> resultReceiver) {
+ public PythonFunctionRunner<Row> createPythonFunctionRunner(
+ FnDataReceiver<Row> resultReceiver,
+ PythonEnvironmentManager pythonEnvironmentManager) {
Review comment:
pythonEnvironmentManager can be made an transient instance field of
operator(AbstractPythonFunctionOperator) as it belongs to an operator.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services