Skip to main content

column_ops

Function column_ops 

Source
pub fn column_ops(specs: &[TransformSpec], has_masking: bool) -> Vec<ColumnOp>
Available on crate feature lineage only.
Expand description

Map the resolved transform chain onto column-lineage ops. Transforms that change structure or rewrite keys (flatten, explode, keys_case, rename_keys) and any unknown transform become Opaque, which makes faucet_lineage::derive omit the column-lineage facet (never fabricated).

has_masking appends a trailing Identity op when a masking: policy is active: masking rewrites field values (redact/hash/tokenize/partial) but preserves the column set, so it is faithfully an identity at the column-lineage level — every output column derives from the same-named input column (#206).