3 ms·
Seems to be "transpile to SQL" week: 12/30 https://news.ycombinator.com/item?id=34181319 https://news.ycombinator.com/item?id=34181319 PRQL: a simple, powerful
by password4321 4y ago
Seems to be "transpile to SQL" week:
12/30 https://news.ycombinator.com/item?id=34181319 https://news.ycombinator.com/item?id=34181319 PRQL: a simple, powerful, pipelined SQL replacement
12/28 https://news.ycombinator.com/item?id=34159699 https://news.ycombinator.com/item?id=34159699 SQL + M4 = Composable SQL
- snthpy 4y agoPRQL actually goes through two intermediary ASTs (PL and RQ) before being compiled into SQL. This is not that well documented yet but you can have a look at the comments at the top of the lib.rs [0]. Both representations are accessible as json in the Rust and Python APIs. On the roadmap are plans to support DataFrame backends such as Polars, Pandas, Ibis, ... and Substrait.io [1]. The aim of Substrait is to create a universal relational algebra representation that can be executed directly by backend systems without having to go through SQL. [0]: https://github.com/PRQL/prql/blob/main/prql-compiler/src/lib.rs https://github.com/PRQL/prql/blob/main/prql-compiler/src/lib... [1]: https://substrait.io/ https://substrait.io/
- giovannibonetti 4y agoAnd no mention of Datalog so far