Skip to main content

get_latest_version

Function get_latest_version 

Source
pub async fn get_latest_version(
    table: &mut DeltaTable,
) -> Result<i64, ConnectorError>
Expand description

Returns the latest committed version of a Delta Lake table.

This refreshes the table state from storage before checking.

ยงErrors

Returns ConnectorError::ReadError if the table state cannot be refreshed.