Documentation
¶
Overview ¶
Package interp is the reference interpreter for the committed read-path subset of the relalg IR. It implements docs/design/ir-semantics.md verbatim and serves as the oracle for the cross-provider differential conformance suite (internal/conformance). It is not a performance reference.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrIncomparable = errors.New("interp: incomparable values")
ErrIncomparable is returned when two non-NULL values of incompatible types are compared. The conformance fixture is typed, so this always indicates a corpus or interpreter bug rather than a data condition.
var ErrUnknownColumn = errors.New("interp: unknown column")
ErrUnknownColumn is returned when an expression references a column the input relation does not have.
var ErrUnknownRelation = errors.New("interp: unknown relation")
ErrUnknownRelation is returned when a Scan references a table not present in the DB.
var ErrUnsupported = errors.New("interp: unsupported expression")
ErrUnsupported is returned for IR nodes outside the committed read-path subset (writes, procedures).
Functions ¶
This section is empty.
Types ¶
type DB ¶
DB maps relation names to tables. Schema qualifiers are ignored: the conformance fixture lives in a single schema.