You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "Xuanwo (via GitHub)" <gi...@apache.org> on 2025/04/16 10:38:17 UTC

[PR] feat: Add trait for Cache and CacheProvider [iceberg-rust]

Xuanwo opened a new pull request, #1222:
URL: https://github.com/apache/iceberg-rust/pull/1222

   ## Which issue does this PR close?
   
   Part of https://github.com/apache/iceberg-rust/issues/1217
   
   I plan to introduce `Cache` and `CacheProvider` to replace the existing `ObjectCache`. These cache traits will serve as the entry point for users to configure the cache we need to use in Iceberg. Users can easily implement a cache provider and share the same cache across multiple Iceberg tables.
   
   This design also move the entire cache building logic to users side so that iceberg don't need to specify anything hardcode.
   
   I also plan to move the existsing moka based cache to our future lite engine so users can still have a good enough default.
   
   ## What changes are included in this PR?
   
   - Add `Cache` trait for get/set cache enties.
   - Add `CacheProvide` trait for users to implement their own cache logic.
   
   ## Are these changes tested?
   
   No need.


-- 
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-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] feat: Add trait for ObjectCache and ObjectCacheProvider [iceberg-rust]

Posted by "liurenjie1024 (via GitHub)" <gi...@apache.org>.
liurenjie1024 merged PR #1222:
URL: https://github.com/apache/iceberg-rust/pull/1222


-- 
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-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org