-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Support compiling remaining DataFusion crates (datafusion-core
) to WASM
#7652
Comments
A good first step might be to simply make parquet optional in DataFusion -- aka #7653 That would allow us to validate and explore what dependencies are blocking wasm compilation |
apache/arrow-rs#4884 makes parquet compile for WASM |
Also, #7745 make parquet support optional in DataFusion |
I managed to compile for wasm, but I encountered a couple of problems:
After these changes I was able to create |
I have filed an epic to track additional WASM work here: |
Is your feature request related to a problem or challenge?
As shown by @jonmmease in #7633, some of the datafusion crates can be compiled to WASM:
The difficulty with getting the remaining DataFusion crates compiled to WASM is that they have non-optional dependencies on the
parquet
crate with its default features enabled. Several of the default parquet crate features require native dependencies that are not compatible with WASM, in particular thelz4
andzstd
features. If we can arrange our feature flags to make it possible to depend on parquet with these features disabled, then it should be possible to compile the coredatafusion
crate to WASM as well.Describe the solution you'd like
One approach might be to disable the relevant parquet features that could not be compiled as described below.
From https://github.com/apache/arrow-datafusion/pull/7633/files#r1335824930 between @jonmmease and @tustvold
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: