apache / apache/datafusion

Blog / Example of how to compile DataFusion to WASM

Open
#13,715 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

### 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_

Contributor guide

Open the contributing guide

Research direction

Start with the linked parquet-viewer example and its source repository to understand how DataFusion is compiled to WASM and run in a browser. Document the build and browser-running steps in a blog post or example, with enough detail for a reader to reproduce the result.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, wasm
Domain
documentation, web-dev
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.