vinothchandar edited a comment on pull request #2441: URL: https://github.com/apache/hudi/pull/2441#issuecomment-761240594
>But getting complicated now and difficult to trace where it is opened and closed. @prashantwason IMO we should have always opened and close with each fetch call - that way even if the object is gc-ed afterwards, the resources are properly closed. if we need to amortize open/close/merge cost, then we can just add a batch API e.g `listPartitions()` ---------------------------------------------------------------- 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: us...@infra.apache.org