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

Blog / Example of how to compile DataFusion to WASM #13715

Open
Tracked by #13525 ...
alamb opened this issue Dec 10, 2024 · 4 comments
Open
Tracked by #13525 ...

Blog / Example of how to compile DataFusion to WASM #13715

alamb opened this issue Dec 10, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@alamb
Copy link
Contributor

alamb commented Dec 10, 2024

Is your feature request related to a problem or challenge?

It may not be clear that DataFusion can be compiled to WASM (and thus run in a browser), but it can be thanks to the work from @jonmmease @waynexia and others,

Check out this cool example from @XiangpengHao: https://parquet-viewer.haoxp.xyz/
Code here: https://github.com/XiangpengHao/parquet-viewer/tree/main

Describe the solution you'd like

I would like a blog (or well documented example) describing how to compile DataFusion as WASM and run it in the browser.

Describe alternatives you've considered

No response

Additional context

No response

@XiangpengHao
Copy link
Contributor

I plan to write something about compiling datafusion to wasm as well. It mostly works, but does need some tuning and adjustments for different purposes.

@alamb
Copy link
Contributor Author

alamb commented Dec 17, 2024

@waynexia
Copy link
Member

Cross reference datafusion-contrib/datafusion-wasm-bindings#2. The binding itself should be a good example (but not yet). I'll try to update it against the latest upstream and write some dev-guide.

@waynexia
Copy link
Member

There is a developer guide for building, debugging, and publishing the WASM bindings: https://github.com/datafusion-contrib/datafusion-wasm-bindings/blob/main/CONTRIBUTING.md (forget to link 🙈)

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

No branches or pull requests

3 participants