Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install & load httpfs extension, file does not exist #2

Open
ahuarte47 opened this issue Jun 15, 2024 · 6 comments
Open

Unable to install & load httpfs extension, file does not exist #2

ahuarte47 opened this issue Jun 15, 2024 · 6 comments

Comments

@ahuarte47
Copy link

ahuarte47 commented Jun 15, 2024

I can not load extensions using the web console or my custom jupyter-lite instance (I have successfully loaded the wheel duckdb-0.10.3-cp311-cp311-emscripten_3_1_46_wasm32.whl and duckdb is working).

image

I would like to load a parquet file from s3.

@ahuarte47 ahuarte47 changed the title Unable to install & load httpfs extension, access denied Unable to install & load httpfs extension, file does not exist Jun 15, 2024
@ahuarte47
Copy link
Author

Hi, I am trying to build the httpfs extension myself from duckdb source code (tag v0.10.3) without success.

I heave temporally changed the extension_config.cmake file to include this extension and the json as well.

image

Executing make wasm_eh the json extension is built, but httpfs fails:

image

The error is related with OpenSSL library, but I do not know how to resolve it.
Please can you help me?

@carlopi
Copy link
Collaborator

carlopi commented Jun 17, 2024

Hi! At the current moment extensions are not supported in the duckdb version of pyodide.

This should be more explicit, given here the error message is not really helping.

Networking on the pyodide side is still possible, possibly via fsspec as a workaround.

@ahuarte47
Copy link
Author

Thanks Carlo, I will try to use fsspec.
Congratulations for this amazing software!

@marcus-cse
Copy link

marcus-cse commented Jun 28, 2024

@carlopi , any plans for extension support soon? Is it a heavy lift given httpfs is already supported by DuckDB-Wasm?

@fredguth
Copy link

How can I make it work with fsspec? I am not used to this extension.

@ahuarte47
Copy link
Author

ahuarte47 commented Feb 18, 2025

Finally I was able to build the httpfs extension for WASM. After installing EMSDK & VCPKG tools, make wasm_eh worked.

But do you know is there any plan to add support to build or include extensions for Pyodide?. Do you know how to build DuckDB for Pyodide? Is it possible to build the wheels adding extensions ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants