6 releases

0.13.3 Jan 25, 2025
0.13.2 Oct 11, 2024
0.13.0 Jul 25, 2024
0.12.2 Jun 10, 2024
0.11.3 Feb 11, 2024

#1696 in Database interfaces

Download history 3/week @ 2024-10-20 3/week @ 2024-11-03 13/week @ 2024-12-08 1/week @ 2024-12-15 38/week @ 2025-01-19 73/week @ 2025-01-26 9/week @ 2025-02-02

120 downloads per month

Apache-2.0

210KB
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
~179K SLoC