-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Browser-accessible official DataFusion playground #13818
Comments
💯 Thank you @findepi Here is some inspiration: It would be amazing to have something similar in the datafuion doc site. Something like this: |
As @findepi points out there are at least two implementations of something similar already on #9834 These from @waynexia :
These from @XiangpengHao |
This should greatly reduce the bar of trying out DataFusion 👍 Actually I have tried the "black terminal" style before, as the first version: It turns out that this style requires a lots of logic in the frontend side to simulate a terminal, which is why I change it to the |
That's exactly why I started parquet-viewer -- to view paruqet files and experiment with queries without using the cli tool. If people like it, I can donate it to a more official-looking repo and make it a starting point of datafusion online (or something similar) |
parquet viewer is super cool, especially when a user starts with some data in the form of parquet. @XiangpengHao Do you think this can be evolved into simple query editor with SELECT and CREATE TABLE capabilities, where Parquet upload is an option to create a table? |
Maybe we are looking for something like this? https://sql-workbench.com currently parquet viewer is completely in Rust, and we create js binding when we need to interact with browser, so it can be quite challenging to incorporate to many fancy frontend lib, like monaco editor etc... If we want some cool editor experience, it's better to create a binding of DataFusion and develop from the frontend side, like what @waynexia has done for datafusion-wasm-bindings. |
For the donate part, how about making it the new datafusion-playground. Parquet viewer has implemented a great function set with a more beautiful appearance. Actually I don't want to maintain the old frontend project after seeing the viewer 🙈 |
Is your feature request related to a problem or challenge?
It would be useful to be able to quickly test queries in current DataFusion (latest release or nightly snapshot), without having to check out main branch and running the build.
It would lower the barrier of entry to verifying repro steps in issues, etc.
Describe the solution you'd like
a simple, official website hosted by the DataFusion project allowing to run queries using WASM build of DataFusion
Describe alternatives you've considered
cargo run
Not doing this and requiring contributors to instead
This is time consuming, and discourages issue reporters from checking their repro steps.
Or project maintainers from verifying things in current main.
docker image
Having datafusion docker image and using that.
This would be pretty convenient for maintainers, but not less accessible for the contributors or users. Browser-based would be more accessible
Additional context
The text was updated successfully, but these errors were encountered: