Skip to main content

reload_table

Function reload_table 

Source
pub async fn reload_table(
    catalog: &dyn Catalog,
    table_ident: &TableIdent,
    schema_id: i32,
    partition_spec_id: i32,
) -> Result<Table>
Expand description

Reload the iceberg table from the catalog and assert that its current schema_id and default_partition_spec_id still match the values the caller computed against. Schema or partition evolution mid-commit is surfaced as a non-retriable error by the call sites.