Skip to main content

collect_column_names

Function collect_column_names 

Source
pub fn collect_column_names(
    records: &[Value],
    sample_size: usize,
) -> Vec<String>
Expand description

Compute the ordered union of object keys across the first sample_size records. Order of first occurrence is preserved so the column layout is stable. Non-object records are skipped.