Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
Weijun-H committed Jan 16, 2025
1 parent 87b3d1b commit d2f4245
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ mod tests {
let schema = batch1.schema();
let expected_batches = vec![batch1.clone(), batch2.clone()];
let input = MockExec::new(vec![Ok(batch1), Ok(batch2)], schema);
let partitioning = Partitioning::RoundRobinBatch(1);
let partitioning = Partitioning::OnDemand(1);

let exec =
OnDemandRepartitionExec::try_new(Arc::new(input), partitioning).unwrap();
Expand Down Expand Up @@ -1143,7 +1143,7 @@ mod tests {
let schema = test_schema();
let partition = create_vec_batches(50);
let input_partitions = vec![partition];
let partitioning = Partitioning::RoundRobinBatch(4);
let partitioning = Partitioning::OnDemand(4);

// setup up context
let runtime = RuntimeEnvBuilder::default()
Expand Down Expand Up @@ -1198,7 +1198,7 @@ mod tests {
let union = UnionExec::new(vec![source1, source2]);
let exec = OnDemandRepartitionExec::try_new(
Arc::new(union),
Partitioning::RoundRobinBatch(10),
Partitioning::OnDemand(10),
)
.unwrap()
.with_preserve_order();
Expand Down

0 comments on commit d2f4245

Please sign in to comment.