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

problem with installation

Open wwasilak opened this issue 9 months ago • 5 comments

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!

wwasilak avatar Mar 03 '25 21:03 wwasilak

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

As a workaround, could you please try wsl or docker?

dentiny avatar Mar 04 '25 03:03 dentiny

Good to know, thanks for the answer!

wwasilak avatar Mar 04 '25 07:03 wwasilak

Thanks @wwasilak for trying! Once we support Windows we'll definitely let you know.

douenergy avatar Mar 05 '25 03:03 douenergy

@dentiny is this extension supported on windows yet?

kalyanm2305 avatar Aug 08 '25 18:08 kalyanm2305

@dentiny is this extension supported on windows yet?

Unfortunately no :(

dentiny avatar Aug 08 '25 19:08 dentiny