Function relation_desc_to_iceberg_schema

Source
fn relation_desc_to_iceberg_schema(
    desc: &RelationDesc,
) -> Result<(Schema, SchemaRef)>
Expand description

Convert a Materialize RelationDesc into Arrow and Iceberg schemas. Returns the Arrow schema (with field IDs) for writing Parquet files, and the Iceberg schema for table creation/validation.