Function mz_storage_types::sources::envelope::match_key_indices
source · fn match_key_indices(
key_desc: &RelationDesc,
value_desc: &RelationDesc,
) -> Result<Vec<usize>>
Expand description
Computes the indices of the value’s relation description that appear in the key.
Returns an error if it detects a common columns between the two relations that has the same name but a different type, if a key column is missing from the value, and if the key relation has a column with no name.