5 unstable releases
0.13.2 | Oct 11, 2024 |
---|---|
0.13.0 | Jul 25, 2024 |
0.12.2 | Jun 10, 2024 |
0.12.1 | Jun 9, 2024 |
0.11.3 | Feb 11, 2024 |
#1918 in Database interfaces
205KB
5K
SLoC
Query runner for PRQL
Takes a project tree of source files, compiles PRQL and executes the queries in databases.
Defines database connection parameters in .prql files using @lutra
annotations.
Works in following stages:
- discover: walk over a directory in the file system to find .prql source files,
- compile: use prqlc to compile PRQL to SQL and then find @lutra annotations,
- execute: connect to databases to execute the queries and return results as Apache Arrow record batches.
For executing the queries and converting to Apache Arrow, lutra uses connector_arrow crate.
Dependencies
~0–14MB
~168K SLoC