Skip to main content

Module schema_binding

Module schema_binding 

Source
Expand description

Versioned, immutable connector schema contracts stored with catalog definitions. Durable connector contracts. Native schemas remain separate from Arrow read/input schemas.

Structs§

NativeSchema
One immutable native schema, including the semantics Arrow cannot express.
NativeSchemaArtifact
A transitive native definition and its scoped identity.
SchemaBinding
Immutable connector binding for one catalog generation.
SchemaFieldMapping
Declarative mapping compiled once by the connector when it activates.

Enums§

SchemaBindingError
Structural or directional incompatibility in a resolved schema contract.
SchemaDirection
Direction in which a connector applies its schema contract.
SchemaOrigin
Authority that established the immutable logical schema.

Constants§

MAX_SCHEMA_BINDING_BYTES
Maximum canonical size of one connector contract, including native references.
MAX_SCHEMA_FIELDS
Maximum number of logical or external fields in one binding.
MAX_SCHEMA_REFERENCES
Maximum transitive native schema artifacts in one binding.
SCHEMA_BINDING_VERSION
Current schema contract and declarative mapping representation.

Functions§

same_logical_type
Compare logical types while retaining nested names, order and nullability. Native field metadata (including stable field IDs) remains in the external contract; its presence alone does not change a user’s explicitly declared logical type.