Install and load
Run these commands in a Haybarn SQL session. The extension is available from the community repository.
INSTALL httpfs_timeout_retry FROM community;
LOAD httpfs_timeout_retry FROM community;
Using upstream DuckDB? Follow the maintainer’s installation instructions.
Usage example
SET httpfs_timeout_file_operation_ms = 30000; -- 30 seconds
SET httpfs_timeout_list_ms = 60000; -- 60 seconds
SET httpfs_timeout_delete_ms = 30000; -- 30 seconds
SET httpfs_timeout_stat_ms = 10000; -- 10 seconds
SET httpfs_timeout_create_dir_ms = 20000; -- 20 seconds
SET http_timeout = 30000; -- This will be used for operations without per-operation settings
SET httpfs_retries_file_operation = 3; -- applies to open, read, and write operations
SET httpfs_retries_list = 3;
SET httpfs_retries_delete = 2;
SET httpfs_retries_stat = 2;
SET httpfs_retries_create_dir = 3;
SET http_retries = 3; -- This will be used for operations without per-operation settings
Provided by dentiny. Not yet verified on Haybarn 2.0.0.
Sample data & setupAbout this extension
This extension allows per-operation timeout and retry config to DuckDB httpfs extension. It supports a few key features:
Project overview from the community descriptor.
Documentation and resources
Project and build details
- Repository
- dentiny/duckdb-httpfs-timeout-retry
- License
- MIT
- Maintainers
- dentiny
- Written in
- C++
- Build source
39408501afde- Build definition
- Community descriptor