schnappi17 opened a new issue, #2122: URL: https://github.com/apache/incubator-paimon/issues/2122
### Search before asking - [X] I searched in the [issues](https://github.com/apache/incubator-paimon/issues) and found nothing similar. ### Motivation We'll measure scan operations by introducing scan metrics, the metric groups will be in the JVM. In the resident JVM like flink session cluster, the metric groups should be cleaned in the right time. Like scan resources, we should clean them by SplitEnumerator closes. ### Solution Add close() method in the TableScan interface first. ### Anything else? _No response_ ### Are you willing to submit a PR? - [X] I'm willing to submit a PR! -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
