pub fn apply_table_updates(
metadata: &mut TableMetadata,
updates: Vec<TableUpdate>,
) -> Result<(), Error>Expand description
Applies a sequence of updates to table metadata
This function processes each update in order, modifying the table metadata accordingly. Updates can include:
- Format version changes
- UUID assignments
- Schema modifications
- Partition spec and sort order changes
- Snapshot management
- Location and property updates
§Arguments
metadata- Mutable reference to table metadata to modifyupdates- Vector of updates to apply
§Returns
Ok(())if all updates were applied successfullyErr(Error)if any update failed to apply