You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a way to dynamically configure / update the ListFilesCache settings via RuntimeConfiguration #19056
@BlakeOrth added a cache to avoid re-listing all files which is great, and it includes a max size and a TTL (time to live) for the entries.
The default ttl is infinite (to ensure stability). However this is likely not what all users want so it would be useful to be able to change these parameters similarly to how the other runtime options can be configured
-- set list files cache limit to 5MB SETdatafusion.runtime.list_files_cache_limit ='5M'-- set time to live for each entry to 1 minute 30 secondsSETdatafusion.runtime.list_files_cache_limit ='1m30s'; -- would it be better like `1:30`?
Describe alternatives you've considered
I suggest adding two new runtime configuration options, following the model of metadata_cache_limit
list_files_cache_limit -- size of cache
list_files_cache_ttl -- ttl duration of entries
that would mean roughly adding support here (and elsewhere in that file)
Activity
velaskuez commentedon Dec 4, 2025
take
Add runtime config options for `list_files_cache_limit` and `list_fil…