Module utils

Source

Structsยง

ColumnMetadataDisplay ๐Ÿ”’
A display wrapper for [ColumnMetadata] that formats the column metadata in a more readable way.
PartialRegionMetadata ๐Ÿ”’

Functionsยง

build_column_metadata_from_table_info ๐Ÿ”’
Constructs a vector of [ColumnMetadata] from the provided table information.
build_table_meta_from_column_metadatas ๐Ÿ”’
Builds a RawTableMeta from the provided [ColumnMetadata]s.
check_column_metadata_invariants ๐Ÿ”’
Checks whether the schema invariants hold between the existing and new column metadata.
check_column_metadatas_consistent ๐Ÿ”’
Checks if the column metadatas are consistent.
resolve_column_metadatas_with_latest ๐Ÿ”’
Resolves column metadata inconsistencies among the given region metadatas by selecting the column metadata with the highest schema version.
resolve_column_metadatas_with_metasrv ๐Ÿ”’
Resolves column metadata inconsistencies among the given region metadatas by using the column metadata from the metasrv as the source of truth.