Skip to main content

Module table_mapping

Module table_mapping 

Source
Expand description

Arrow/MSSQL table schema mapping. Bidirectional Arrow/MSSQL schema mapping.

The initial mapping function starts from an Arrow schema because the first operation is Arrow-to-SQL Server writing. The resulting SchemaMapping values keep Arrow field metadata and MSSQL column metadata as peer concepts so future SQL Server-to-Arrow read planning can reuse the shared representation instead of inheriting a write-only column model.

Structs§

PlannedSchema
Planned Arrow/MSSQL table schema for one SQL Server profile.

Functions§

create_table_sql_from_mappings
Renders deterministic CREATE TABLE SQL from mapping metadata.
mssql_columns_from_mappings
Returns the planned MSSQL columns in mapping order.
plan_arrow_schema_to_mssql_schema
Plans an Arrow schema into a profile-bound MSSQL schema.