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

#1589 in Database interfaces

Download history 105/week @ 2024-07-20 56/week @ 2024-07-27 5/week @ 2024-09-14 12/week @ 2024-09-21 9/week @ 2024-09-28 34/week @ 2024-10-05 176/week @ 2024-10-12 4/week @ 2024-10-19

214 downloads per month

Apache-2.0

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