Skip to content

Apache DataFusion SQL Query Engine

minor: speedup one SPM unit test (#26929)

Yongting You611311cd7ef5
diff --git a/datafusion/physical-plan/src/sorts/sort_preserving_merge.rs b/datafusion/physical-plan/src/sorts/sort_preserving_merge.rs
index 7c0e5f5dd6..76fb4bb441 100644
--- a/datafusion/physical-plan/src/sorts/sort_preserving_merge.rs
+++ b/datafusion/physical-plan/src/sorts/sort_preserving_merge.rs
@@ -908,7 +908,7 @@ mod tests {
let rb = RecordBatch::try_from_iter(vec![("a", a), ("b", b), ("c", c)])?;
let schema = rb.schema();
- let rbs = std::iter::repeat_n(rb, 1024).collect::<Vec<_>>();
+ let rbs = std::iter::repeat_n(rb, 256).collect::<Vec<_>>();
let sort = [
PhysicalSortExpr {
expr: col("b", &schema)?,