You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ran Tao (Jira)" <ji...@apache.org> on 2023/03/01 11:39:00 UTC

[jira] [Created] (FLINK-31281) PythonFunctionRunner doesn't extend AutoCloseable but implements close

Ran Tao created FLINK-31281:
-------------------------------

             Summary: 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
            Reporter: Ran Tao


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)