PRQL compiler
prql-compiler
contains the implementation of PRQL's compiler, written in rust.
For more on PRQL, check out the PRQL website or the PRQL repo.
Installation
prql-compiler
can be installed with cargo
:
...or built from source:
# from prql/prql-compiler
It can be installed via brew too:
Usage
|
Terminology
Relation = Standard definition of a relation in context of databases:
- An ordered set of tuples of form
(d_0, d_1, d_2, ...)
. - Set of all
d_x
is called an attribute or a column. It has a name and a type domainD_x
.
Frame = descriptor of a relation. Contains list of columns (with names and types). Does not contain data.
Table = persistently stored relation. Some uses of this term actually mean to say "relation".