Function check_column_metadatas_consistent

Source
pub(crate) fn check_column_metadatas_consistent(
    region_metadatas: &[RegionMetadata],
) -> Option<Vec<ColumnMetadata>>
Expand description

Checks if the column metadatas are consistent.

The column metadatas are consistent if:

  • The column metadatas are the same.
  • The primary key are the same.
  • The table id of the region metadatas are the same.

ยงPanic

Panic if region_metadatas is empty.