lirui-apache commented on PR #6175: URL: https://github.com/apache/iceberg/pull/6175#issuecomment-1321554962
I think caching can be desirable even if there's only one HMS involved. For example, if a user opens two sessions to submit queries, we might want to reuse the underlying pool. I guess this is the use case described in @pvary 's previous [comment](https://github.com/apache/iceberg/pull/6175#issuecomment-1315286360). The problem is we cannot design an appropriate cache key that fits requirement from different engines. So maybe we can have `CachedClientPool` as the default cache (or disable caching by default), but allow engines to override it with custom implementations? -- 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