duck-read-cache-fs icon indicating copy to clipboard operation
duck-read-cache-fs copied to clipboard

Feature request: update glob cache to cache `OpenFileInfo`

Open dentiny opened this issue 7 months ago • 0 comments

Is your feature request related to a problem? Please describe. Duckdb changes interface for Glob from a vector of object path to file information (object stats); we need to update corresponding interface and cache otherwise build would break. https://github.com/duckdb/duckdb/blob/b641478fe45e13dc07ef5ce2de903602d1663eae/src/include/duckdb/common/file_system.hpp#L218-L219

Describe the solution you'd like Update interface and update a few accessor implementation to leverage cache. OpenFileInfo allows the extension to cache more information and benefit more API calls (i.e. get last modification timestamp).

Describe alternatives you've considered N/A

Additional context N/A

dentiny avatar May 01 '25 09:05 dentiny