[
https://issues.apache.org/jira/browse/FLINK-31281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17695021#comment-17695021
]
Ran Tao commented on FLINK-31281:
---------------------------------
[~mapohl] Hi, Matthias. We fix the FLINK-31015. But PythonFunctionRunner &
LeaderRetrievalDriver need to address either, although these 2 interfaces are
@Internal. What do u think?
> PythonFunctionRunner doesn't extend AutoCloseable but implements close
> ----------------------------------------------------------------------
>
> Key: FLINK-31281
> URL: https://issues.apache.org/jira/browse/FLINK-31281
> Project: Flink
> Issue Type: Improvement
> Components: API / Python
> Reporter: Ran Tao
> Priority: Major
>
> The PythonFunctionRunner provides a {{close}} method (see
> [PythonFunctionRunner|https://github.com/apache/flink/blob/0612a997ddcc791ee54f500fbf1299ce04987679/flink-python/src/main/java/org/apache/flink/python/PythonFunctionRunner.java])
> but doesn't implement {{{}AutoCloseable{}}}. However {{AutoCloseable}} would
> enable us to use Java's try-with-resources feature and more generic utility
> classes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)