problem with installation
Hi, tried to install on freshly installed duckdb but it failed :
D INSTALL cache_httpfs from community; HTTP Error: Failed to download extension "cache_httpfs" at URL "http://community-extensions.duckdb.org/v1.2.0/windows_amd64/cache_httpfs.duckdb_extension.gz" (HTTP 403)
Candidate extensions: "core_functions", "parquet", "tpch", "inet", "http" For more info, visit https://duckdb.org/docs/extensions/troubleshooting/?version=v1.2.0&platform=windows_amd64&extension=cache_httpfs D
OS: Windows 11 Vs code version 1.97.2
Cheers!
Hi @wwasilak , thank you so much for trying our extension and provide feedback!
Unfortunately for the initial version, we don't plan to support windows: https://github.com/duckdb/community-extensions/blob/7ce4b99387757498aa158d760c322601ff616db6/extensions/cache_httpfs/description.yml#L8
There're several reasons:
- Behavior difference. For on-disk file cache, it's possible to delete a cache file by eviction operation, meanwhile it's opened and read by other read operations; in windows it's not allowed to delete a file when there's still reference count, but acceptable for unix platform. I feel like it's non-trivial work to support the same feature on windows.
- File access timestamp is updated on cache hit; the syscall is not provided by duckdb so we have to write our own.
- Both me and Alex @douenergy doesn't have available windows platform as dev platform; before release we do testing on both macos and ubuntu to make sure it works on both platforms, but not windows :(
Good to know, thanks for the answer!
Thanks @wwasilak for trying! Once we support Windows we'll definitely let you know.
@dentiny is this extension supported on windows yet?