The httpfs extension lets DuckDB query files hosted over HTTP(S) without downloading them locally. It also supports S3 and several other cloud storage providers. section 2.4
Use it to:
- Install and load remote-file support with INSTALL httpfs; and LOAD httpfs;. section 2.4
- Query CSV or Parquet files directly from remote URLs and use the CLI within data pipelines. section 2.6 section 10.4.1
- Configure a TYPE S3 secret when accessing a private bucket. section 10.4.1
Enable remote access
Run INSTALL httpfs; followed by LOAD httpfs; in the DuckDB CLI, then use a remote dataset such as https://oedi-data-lake.s3.amazonaws.com/pvdaq/csv/systems.csv. DuckDB may autoload an installed extension when it can determine that the extension is needed. section 3.2.1 section 2.4
INSTALL httpfs; LOAD httpfs;
Inspect the minimal installation and loading commands for httpfs. section 2.4
