Thalweg · API reference ← Main docs

Module delta

Module delta 

Source
Expand description

Delta Lake’s schema type system, per the public Delta Transaction Log Protocol spec (PROTOCOL.md#primitive-types / #struct-field). This is a documented, versioned open format, so this mapping is built directly from the spec.

Bridges through Arrow (reusing crate::pg_type::PgType’s existing Arrow bridge as the hub) rather than hand-rolling separate Delta-to-PgType conversion logic - DeltaType::from_pg_type/to_pg_type go via PgType::to_arrow_type/from_arrow_type.

Complex types serialize to Delta’s actual nested-JSON schema representation ({"type": "array", "elementType": ..., "containsNull": ...}), not a flat type-name string - matching how Delta schemas are really expressed in a table’s metadata.

Structs§

DeltaStructField

Enums§

DeltaType