diff --git a/crates/nu-command/src/formats/to/delimited.rs b/crates/nu-command/src/formats/to/delimited.rs index 7ad136c1da..f749c55579 100644 --- a/crates/nu-command/src/formats/to/delimited.rs +++ b/crates/nu-command/src/formats/to/delimited.rs @@ -110,7 +110,7 @@ pub fn merge_descriptors(values: &[Value]) -> Vec { _ => vec!["".to_string()], }; for desc in data_descriptors { - if !seen.contains(&desc) { + if !desc.is_empty() && !seen.contains(&desc) { seen.insert(desc.to_string()); ret.push(desc.to_string()); }