-
Notifications
You must be signed in to change notification settings - Fork 202
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
Universal SQL runtime #768
Comments
Exciting developments! Only thought is that if we make it mandatory then adds some complexity to first user experience, requiring sources folder. There's something nice about the simplicity of the current starting experience, and then abstracting as you add complexity. |
We'll need to identify a way to indicate if an inline query (or a query file, even) is coming from a data source directly or from the in-app runtime. I'm not sure how this would play with the |
@archiewood pointed me to this GH issue to leave some thoughts since it's related to #728 (which I am a proponent of). Speaking to this project's goals:
Thoughts on some of the ideas in the proposal: Declarative Parameterized Page
This looks wildly confusing to me.
What is the motivation behind this syntax? WASM DuckDB This looks neat, and like a useful way to handle user interactivity client-side. I'm interested to see how this turns out. That said, it seems complicated and rife with potential issues if you're using a different source DB. You could consider using https://github.com/tobymao/sqlglot for help. I believe Toby managed to get a WASM build working. |
This is a big one. We'd love any thoughts, input, or suggestions.
Prototyping work on this is in a fairly early stage, so there's lots of room for input.
This project has four big goals:
Here's how this will work at a high level:
Example page - user interactive
Example page - declarative paramaterized page
We may release this as an optional feature, or offer the ability to use both source system SQL and client side SQL inline in pages.
More detail
Evidence projects will have the following directory structure:
Sources
Views
Pages
Components
Pages will reference sources through front matter per #85
Page System and Reactive Queries
Page Commons
The text was updated successfully, but these errors were encountered: