Skip to main content

decode_series_identity

Function decode_series_identity 

Source
pub(crate) fn decode_series_identity(
    primary_key: &[u8],
    tag_columns: &[(ColumnId, String)],
    offsets: &mut SparseOffsetsCache,
    buf: &mut Vec<u8>,
) -> Result<(ExactSeriesKey, Vec<Option<String>>)>
Expand description

Decodes one sparse primary key into its exact identity and tag_columns labels.

This is the only decoder artifact writers use, so the identity they aggregate and the labels they persist always come from the same key.