Start locally, choose where AI runs
Create an engine in your Python application and begin querying without deploying a separate SQL server. Chowder combines relational analytics with inference, embeddings, document parsing, and transcription over structured and unstructured data. Choose where the supported AI processing runs:
In every case, the in-process SQL engine stays with your application. With remote AI compute, Chowder retains SQL planning, relational execution, and inference-aware scheduling on the client while offloading supported processing operations.
See Connect to remote AI compute and Self-host AI compute for more details.
Columnar analytical execution
Chowder plans and executes analytical SQL over Apache Arrow columnar data. Query operators exchange Arrow record batches: each batch contains typed column arrays under a shared schema. Filters, projections, joins, and aggregations operate over this columnar representation. AI functions add typed result columns that compose with the same SQL operators. You can classify a text column, group by the resulting labels, or join relations by embedding similarity within one analytical plan. Inference-aware operators schedule expensive model work with bounded concurrency and can reduce the inputs evaluated through eligible filters and limits. Model calls may process individual inputs or batches, depending on the runtime; the query engine continues to exchange columnar Arrow batches.Row grain
A source’s row grain defines what one logical record represents. The values for those records are carried in columns within Arrow batches:- A PDF produces page rows.
- An image file produces one encoded-image row.
- Video and audio produce sampled time-window rows.
- A text file produces line rows.
- An MCAP file produces message rows.
- JSON, CSV, and Parquet preserve their record grain.
source, page_number, and content columns, with one value per page in each column. Row grain describes the data you query; columnar execution describes how the engine processes it.
Fixed-schema readers put source first. Chowder-assigned ordinals such as page_number, line_number, and window_number are one-based.
Lazy table functions
Multimodal table functions appear inFROM clauses:
Relation. Projection, filters, and LIMIT inform how much work each reader performs.
Arrow-native results
Chowder returns Arrow-native results. The columnar representation continues through the result boundary as a stream of typed Arrow record batches, ready for Arrow-compatible analytical tools:to_arrow_table() to materialize an Arrow table, or to_polars() and to_pandas() to consume results in a DataFrame. You can also process batches directly as they arrive.
AI column functions return envelopes
The AI column functionsinfer and embed return structs instead of bare values. The output field contains the requested value or embedding. Other fields carry model identity, confidence where available, errors, and timings.
.output when you need the typed value.