8000 Extension fails to install on DuckDB 1.3.0 · Issue #65 · duckdb/duckdb-httpfs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Extension fails to install on DuckDB 1.3.0 #65
Open
@piever

Description

@piever

On DuckDB 1.3.0, the extension fails to install (from the Julia client), whereas it would install successfully on DuckDB 1.2

Environment information

I'm using Julia 1.11.5 on Ubuntu 24.4

Julia Version 1.11.5
Commit 760b2e5b739 (2025-04-14 06:53 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)

I'm using the Julia DuckDB package at version 1.3.0

MWE

julia> using DuckDB

julia> db = DuckDB.DB();

julia> DBInterface.execute(db, "INSTALL httpfs");
ERROR: Execute of query "INSTALL httpfs" failed: HTTP Error: Failed to download extension "httpfs" at URL "http://extensions.duckdb.org/v1.3.0/x86_64-linux-gnu/httpfs.duckdb_extension.gz" (HTTP 403)
Extension "httpfs" is an existing extension.

For more info, visit https://duckdb.org/docs/stable/extensions/troubleshooting/?version=v1.3.0&platform=x86_64-linux-gnu&extension=httpfs
Stacktrace:
 [1] execute(stmt::DuckDB.Stmt, params::@NamedTuple{})
   @ DuckDB ~/.julia/packages/DuckDB/eyW0R/src/result.jl:722
 [2] execute
   @ ~/.julia/packages/DuckDB/eyW0R/src/result.jl:872 [inlined]
 [3] execute
   @ ~/.julia/packages/DBInterface/nQcsk/src/DBInterface.jl:130 [inlined]
 [4] execute(conn::DuckDB.DB, sql::String)
   @ DBInterface ~/.julia/packages/DBInterface/nQcsk/src/DBInterface.jl:152
 [5] top-level scope
   @ REPL[11]:1

If I understand correctly, the root of the problem is that DuckDB is attempting to download from http://extensions.duckdb.org/v1.3.0/x86_64-linux-gnu/httpfs.duckdb_extension.gz, whereas the correct link seems to be http://extensions.duckdb.org/v1.3.0/linux_amd64/httpfs.duckdb_extension.gz

Note that passing the correct link directly also does not work due to a platform mismatch

julia> DBInterface.execute(db, "INSTALL 'http://extensions.duckdb.org/v1.3.0/linux_amd64/httpfs.duckdb_extension.gz'")
ERROR: Execute of query "INSTALL 'http://extensions.duckdb.org/v1.3.0/linux_amd64/httpfs.duckdb_extension.gz'" failed: IO Error: Failed to install 'httpfs'
The file was built for the platform 'linux_amd64', but we can only load extensions built for platform 'x86_64-linux-gnu'.
Stacktrace:
 [1] execute(stmt::DuckDB.Stmt, params::@NamedTuple{})
   @ DuckDB ~/.julia/packages/DuckDB/eyW0R/src/result.jl:722
 [2] execute
   @ ~/.julia/packages/DuckDB/eyW0R/src/result.jl:872 [inlined]
 [3] execute
   @ ~/.julia/packages/DBInterface/nQcsk/src/DBInterface.jl:130 [inlined]
 [4] execute(conn::DuckDB.DB, sql::String)
   @ DBInterface ~/.julia/packages/DBInterface/nQcsk/src/DBInterface.jl:152
 [5] top-level scope
   @ REPL[12]:1

Was support dropped for x86_64-linux-gnu or is it just a bug in the platform selection mechanism?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0