gaborkaszab opened a new pull request, #16173: URL: https://github.com/apache/iceberg/pull/16173
Currently, the RESTTableCache stores a Supplier<BaseTable>. This is somewhat rigid and doesn't leave much room for further changes. This PR breaks this down and stores relevant information needed for table creation instead of the Supplier. With this, it's the user's responsibility to hold the logic to create the table. Motivation for this refactor is to split the internal representation of the table cache between table-level details and user/session-level details. Currently, if multiple users query the same table, the table metadata itself is cached multiple times that is wasteful and also adds up for the maximum numbr of entries config. With the refactor we could improve this. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
