Integrate with Polars & DuckDB
File readers decode input into Arrow batches. At the Arrow/Python boundary, compatible buffers may be shared through Arrow interchange; this does not make file reads, slicing, or SQL execution zero-copy.
Integration Pattern with Polars
import polars as pl
import basaltic_red as br
# Map-assisted row-range read
arrow_table = br.read.slice_rows("data/yellow_tripdata_2025-01.parquet", offset=0, limit=1000)
df = pl.from_arrow(arrow_table)