Function mz_sqllogictest::parser::split_cols

source ·
pub(crate) fn split_cols(line: &str, expected_columns: usize) -> Vec<&str>
Expand description

Split on whitespace to normalize multiple spaces to one space. This happens unconditionally in Cockroach mode, regardless of the sort option.

TODO: this doesn’t have the whitespace-collapsing behavior for single-column values that cockroach relies on