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)