Closed cboettig closed 1 year ago
@cboettig Have you tried prqlc
? It is a CLI tool that provides simple query compilation.
We need to build it on our side as there are no binaries in the GitHub release......
$ cargo install prqlc
$ echo 'from hello | select world' | prqlc compile
SELECT
world
FROM
hello
-- Generated by PRQL compiler version:0.6.1 (https://prql-lang.org)
Is there a method similar to
dplyr::show_query()
which will show the corresponding SQL that is generated by a PRQL command chain? I find this can be very helpful, especially when seeking to become more familiar with the PRQL / piped syntax!