Skip to main content
Bijection has no SQL dialect of its own and runs no SQL itself. Every statement runs in your warehouse, in the warehouse’s own dialect.

Typed relations and native text

Write queries as typed relations. bijection check compiles each one through the semantics guest’s dialect module for its receiver or run target. The module renders the statement, and the lock records its digest and the compiler revision. Write native text (receiver.sql({ key, fields })`…` ) only for what a relation cannot say. Check parses it with the same dialect module, binds its relations and classifies every function call. The dialect catalogs list what each module admits. The provider gateway runs only installed statements, matched by digest, and re-admits each one with the compiler revision the lock records. A lock compiled by a revision the gateway lacks refuses CompilerMissing at deploy.

Virtual tables and pipelines

A virtual table compiles a bounded statement for each pushdown shape and lands small, dated answers per key. A pipeline reads exact dataset versions and publishes new ones. Its run target declares a dialect, and check compiles each typed output’s rebuild, step and shadow programs in that dialect’s module, then installs them in the run target by digest. Native SQL and opaque programs on a run target are the escape: they rebuild on every run unless a contracted step: folds changes forward. The executor owns resource limits.

External Flight front ends

A SQL front end can implement its own SQL dialect and use Arrow Flight to read data exposed by the deployment. Its SQL engine owns parsing, planning and execution. The deployment still applies the access checks on its Flight reads.