diff --git a/src/cmd/validate.rs b/src/cmd/validate.rs index ef152f1ff..fae5fa1f7 100644 --- a/src/cmd/validate.rs +++ b/src/cmd/validate.rs @@ -695,6 +695,7 @@ pub fn run(argv: &[&str]) -> CliResult<()> { // validation_results vector should have same row count and in same order as input CSV batch .par_iter() + .with_min_len(1024) .map(|record| do_json_validation(&header_types, header_len, record, &schema_compiled)) .collect_into_vec(&mut validation_results);