nuno-faria commented on issue #18405:
URL: https://github.com/apache/datafusion/issues/18405#issuecomment-3482046393

   @abhita I think it would be nice to have multiple eviction policies right 
out of the box. However, I am not sure about changing `FileMetadataCache` from 
a trait to a struct, since it would break existing implementations relying on 
it. Custom implementations (e.g., storing the cache in an in-memory database) 
would not work, as they would be forced to use the `DashMap`.
   
   In my opinion, a better approach would be to modify 
`DefaultFilesMetadataCache` to receive some eviction policy. 


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