pub(crate) fn resolve_column_metadatas_with_latest(
region_metadatas: &[RegionMetadata],
) -> Result<(Vec<ColumnMetadata>, Vec<RegionId>)>
Expand description
Resolves column metadata inconsistencies among the given region metadatas by selecting the column metadata with the highest schema version.
This strategy assumes that at most two versions of column metadata may exist, due to the poison mechanism, making the highest schema version a safe choice.
Returns the resolved column metadata and the region ids that need to be reconciled.