Module sql

Module sql 

Source
Expand description

SQL support (Polars-backed).

This module is implemented as a thin wrapper around Polars SQL: it compiles SQL into a Polars logical plan (a LazyFrame) and returns a crate::pipeline::DataFrame.

Design goals:

  • Keep public signatures in crate types (no Polars types in signatures)
  • Preserve underlying engine errors via IngestionError::Engine { source, .. }

Structs§

Context
A SQL execution context that can register multiple tables and execute queries.

Constants§

DEFAULT_TABLE
Default single-table name used by query.

Functions§

query
Execute a SQL query against a single DataFrame.