For HackerNews enthusiasts
- The PRQL compiler is written in Rust
- We talk about “orthogonal language features” a lot
LOL spot on tho
I’ve been following this closely. Out of all the SQL replacements I’ve seen, I think this has the best chance at succeeding, since it transpiles easily to SQL and it’s not tied to any particular DB or tool.
I totally agree with you
I use SPQR for my data transformation. All queries lead to Rome
Love this. I haven’t written any R code in years, but I do miss the simple and intuitive syntax of dplyr and the rest of the tidyverse. PRQL looks like it is built on the same philosophy. Can’t wait for it to get fully integrated into dbt.
This looks cool, but I wish it were easier to use. I see you can create files and then have prql’s vscode extension create sql files out of them, but I don’t always have a separate file per query in my app development projects. It would be nice if they could convert snippets - maybe code comments containing prql - that it converts into sql strings.
That’s because the tooling is not there quite yet. For what you describe, that would have to be implemented by the compiler bindings for your language. And it’s not that hard - basically one function. But yeah, not there yet.