mkleen opened a new issue, #22359:
URL: https://github.com/apache/datafusion/issues/22359

   ### Is your feature request related to a problem or challenge?
   
   We currently have three very similar cache implementations that combine LRU 
eviction with memory limits as mentioned in 
https://github.com/apache/datafusion/pull/20047#discussion_r2807895401.
   
   - File Metadata cache 
https://github.com/apache/datafusion/blob/main/datafusion/execution/src/cache/file_metadata_cache.rs
   - List Files cache 
https://github.com/apache/datafusion/blob/main/datafusion/execution/src/cache/list_files_cache.rs
   - Files Statistics cache 
https://github.com/apache/datafusion/blob/main/datafusion/execution/src/cache/file_statistics_cache.rs
   
   This results in duplicated logic and unnecessary maintenance overhead.
   
   ### Describe the solution you'd like
   
   These three implementations could be merged into a single generic version 
that supports all three use cases.
   
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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]

Reply via email to