Documentation
¶
Overview ¶
Package conformance is the cross-provider differential conformance suite for the committed read-path IR subset. Every case is evaluated by the reference interpreter (core/relalg/interp, the oracle defined by docs/design/ir-semantics.md) and by a real provider through codegen.Renderer; results must be equal after canonical normalization.
The equivalence corpus deliberately avoids the documented deviations listed in the spec (NULL sort placement, collation case folding, non-terminating averages, type-boundary overflow).
Index ¶
Constants ¶
const TableName = "conf_t"
TableName is the single fixture relation.
Variables ¶
This section is empty.
Functions ¶
func Qualified ¶
Qualified returns the schema-qualified table name ("schema.conf_t"), or the bare name when schema is empty.
func Run ¶
Run executes the whole corpus differentially: interpreter result vs the provider executing codegen output. Any mismatch is a conformance failure; per the spec it must be fixed or promoted to a documented deviation (and the corpus adjusted) — never silently accepted.
func Setup ¶
Setup creates and seeds the fixture table. Statements run one by one: MySQL-family drivers reject multi-statement strings.
func SetupStatements ¶
SetupStatements returns the DDL and seed statements for the given dialect family ("postgres" or the MySQL family used by MySQL and OceanBase). Each statement must be executed separately: MySQL drivers reject multi-statement strings by default.