--- warning: DO NOT CHANGE THIS MANUALLY, THIS IS GENERATED BY https://github.com/duckdb/community-extensions repository, check README there title: httpfs_timeout_retry excerpt: | DuckDB Community Extensions Add per-operation timeout and retry for httpfs extension extension: name: httpfs_timeout_retry description: Add per-operation timeout and retry for httpfs extension version: 0.2.0 language: C++ build: cmake license: MIT excluded_platforms: "wasm_mvp;wasm_eh;wasm_threads;windows_amd64_rtools;windows_amd64;windows_amd64_mingw" maintainers: - dentiny repo: github: dentiny/duckdb-httpfs-timeout-retry andium: d4b8b9dee28a6b36fe5eea8be3dddb8470ccd613 ref: 39408501afde61b6257b9f610fbf2f523e90e6e1 docs: hello_world: | 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 extended_description: | This extension allows per-operation timeout and retry config to DuckDB httpfs extension. It supports a few key features: - It's 100% compatible to httpfs extension, so users don't need to change any of their code. - It supports a few IO operations, like, open/read/write, list, stats, etc. extension_star_count: 1 extension_star_count_pretty: 1 extension_download_count: 957 extension_download_count_pretty: 957 image: '/images/community_extensions/social_preview/preview_community_extension_httpfs_timeout_retry.png' layout: community_extension_doc --- ### Compatibility Matrix This table covers all DuckDB releases that have not reached [end-of-life](https://duckdb.org/release_calendar), including LTS releases, and shows the 2 most recent patch releases of each. Older patch releases are not listed, but the extension may be available for them as well.
| Platform | 1.4.4 | 1.4.5 | 1.5.5 | 1.5.6 | 2.0.0 | | :--- | :---: | :---: | :---: | :---: | :---: | | Linux AMD64 | ✅ | ❌ | ✅ | ✅ | ✅ | | Linux ARM64 | ✅ | ❌ | ✅ | ✅ | ✅ | | macOS AMD64 | ✅ | ❌ | ✅ | ✅ | ✅ | | macOS ARM64 | ✅ | ❌ | ✅ | ✅ | ✅ | | Windows AMD64 | ❌ | ❌ | ❌ | ❌ | ❌ | | Windows ARM64 | ❌ | ❌ | ❌ | ❌ | ❌ | | WebAssembly | ❌ | ❌ | ❌ | ❌ | ❌ | ### Installing and Loading ```sql INSTALL {{ page.extension.name }} FROM community; LOAD {{ page.extension.name }}; ``` {% if page.docs.hello_world %} ### Example ```sql {{ page.docs.hello_world }}``` {% endif %} {% if page.docs.extended_description %} ### About {{ page.extension.name }} {{ page.docs.extended_description }} {% endif %} ### Added Functions
| function_name | function_type | description | comment | examples | |-------------------------------|---------------|-----------------------------------------------------------------|---------|--------------------------------------------------| | clear_httpfs_connection_cache | table | Clears cached HTTP connections used by the httpfs file systems. | NULL | [SELECT * FROM clear_httpfs_connection_cache();] | ### Overloaded Functions
This extension does not add any function overloads. ### Added Types
This extension does not add any types. ### Added Settings
| name | description | input_type | scope | aliases | typed_value | |----------------------------------|-----------------------------------------------------------------|------------|--------|---------|-------------| | httpfs_retries_create_dir | Maximum number of retries for creating directories | UBIGINT | GLOBAL | [] | NULL | | httpfs_retries_delete | Maximum number of retries for deleting files | UBIGINT | GLOBAL | [] | NULL | | httpfs_retries_file_operation | Maximum number of retries for file operations (open/read/write) | UBIGINT | GLOBAL | [] | NULL | | httpfs_retries_list | Maximum number of retries for listing directories | UBIGINT | GLOBAL | [] | NULL | | httpfs_retries_stat | Maximum number of retries for stat/metadata operations | UBIGINT | GLOBAL | [] | NULL | | httpfs_timeout_create_dir_ms | Timeout for creating directories (in milliseconds) | UBIGINT | GLOBAL | [] | NULL | | httpfs_timeout_delete_ms | Timeout for deleting files (in milliseconds) | UBIGINT | GLOBAL | [] | NULL | | httpfs_timeout_file_operation_ms | Timeout for file operations (open/read/write) (in milliseconds) | UBIGINT | GLOBAL | [] | NULL | | httpfs_timeout_list_ms | Timeout for listing directories (in milliseconds) | UBIGINT | GLOBAL | [] | NULL | | httpfs_timeout_stat_ms | Timeout for stat/metadata operations (in milliseconds) | UBIGINT | GLOBAL | [] | NULL | | temp_directory | Set the directory to which temporary files are written. | VARCHAR | GLOBAL | [] | post.db.tmp |