rizaon opened a new pull request, #4518: URL: https://github.com/apache/iceberg/pull/4518
This is a draft PR for ManifestCache implementation. The `ManifestCache` interface closely follow `com.github.benmanes.caffeine.cache.Cache` interface, with addition of specifying `maxContentLength()`. If stream length is longer than `maxContentLength()`, AvroIO will skip caching it to avoid memory pressure. An example of implementation, `CaffeineManifestCache`, can be seen in TestAvroFileSplit.java. I will tidy this up and add documentations as we go. Looking forward for any feedback. Closes #4508 -- 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]
