Skip to content

0.1.1

Compare
Choose a tag to compare
@max-sixty max-sixty released this 02 Apr 22:22
· 3262 commits to main since this release
11c6957

0.1.1 contains big improvements to the compiler

Thank you to the contributors to this release, in particular @aljazerzen, who is responsible for an internal rewrite of much of the compiler:
Aljaž Mur Eržen (@aljazerzen), Maximilian Roos (@max-sixty), shota kizawa (@kiibo382).

The internal rewrite fixes bugs in more complicated queries — such as variables that span multiple CTEs in the generated SQL — and introduces a more coherent & extensible approach to the compilation. It also adds options to prql compile --format to understand how variables and functions are being compiled.

It radically improves many error messages:

$ echo '
from employees
join side:[left] managers [id]
' | prql compile

Error:
   ╭─[-:2:11]
   │
 2 │ join side:[left] managers [id]
   ·           ───┬───
   ·              ╰───── expected ident, but found List

We have the beginning of a language reference. Improving its content is a priority over the coming days.

Install with cargo install prql. If you're interesting in joining, check out the Contributing section in the Readme.