pvary commented on PR #6614: URL: https://github.com/apache/iceberg/pull/6614#issuecomment-1402028111
> static wrapper can make the object lifecycle management difficult. E.g., Flink needs to [unload dynamically loaded classes in user code](https://nightlies.apache.org/flink/flink-docs-master/docs/ops/debugging/debugging_classloading/#unloading-of-dynamically-loaded-classes-in-user-code) that often includes connectors. What is the best way to use Connection pools in Flink tasks? Like a pool for `HMSConnection`, or JDBC driver? Shall we add that, and the wrapper classes to the main Flink classpath, so the classes are not loaded/reloaded every time? -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org