Skip to main content

get_table_schema

Function get_table_schema 

Source
pub fn get_table_schema(table: &DeltaTable) -> Result<SchemaRef, ConnectorError>
Expand description

Extracts the Arrow schema from a Delta Lake table.

§Arguments

  • table - The Delta Lake table handle

§Returns

The table’s Arrow schema.

§Errors

Returns ConnectorError::SchemaMismatch if schema extraction fails.