Skip to content

Commit

Permalink
refactor(cluster): active upstream first for cluster exchange
Browse files Browse the repository at this point in the history
  • Loading branch information
zhang2014 committed Aug 22, 2023
1 parent f924f1b commit 60ec147
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,11 @@ pub fn exchange_shuffle(params: &ShuffleExchangeParams, pipeline: &mut Pipeline)

let inputs = transform.get_inputs();
let outputs = transform.get_outputs();
pipeline.add_pipe(Pipe::create(inputs, outputs, vec![
PipeItem::create(ProcessorPtr::create(Box::new(transform)), inputs, outputs),
]));
pipeline.add_pipe(Pipe::create(inputs, outputs, vec![PipeItem::create(
ProcessorPtr::create(Box::new(transform)),
inputs,
outputs,
)]));

Ok(())
}
Expand Down

0 comments on commit 60ec147

Please sign in to comment.