pub fn arrow_schema_to_schema(schema: &Schema) -> Result<Schema>
Expand description
Convert Arrow schema to Iceberg schema.
Iceberg schema fields require a unique field id, and this function assumes that each field in the provided Arrow schema contains a field id in its metadata. If the metadata is missing or the field id is not set, the conversion will fail