Skip to content

Commit fa91ea3

Browse files
committed
chore
1 parent f6934d1 commit fa91ea3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datafusion/physical-plan/src/repartition/on_demand_repartition.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ impl Stream for OnDemandPerPartitionStream {
620620
cx: &mut Context<'_>,
621621
) -> Poll<Option<Self::Item>> {
622622
if !self.is_requested && !self.sender.is_closed() {
623-
self.sender.send_blocking(self.partition).map_err(|e| {
623+
self.sender.try_send(self.partition).map_err(|e| {
624624
internal_datafusion_err!(
625625
"Error sending partition number to the receiver for partition {}: {}",
626626
self.partition,
@@ -693,7 +693,7 @@ impl Stream for OnDemandRepartitionStream {
693693
loop {
694694
// Send partition number to input partitions
695695
if !self.is_requested && !self.sender.is_closed() {
696-
self.sender.send_blocking(self.partition).map_err(|e| {
696+
self.sender.try_send(self.partition).map_err(|e| {
697697
internal_datafusion_err!(
698698
"Error sending partition number to the receiver for partition {}: {}",
699699
self.partition,

0 commit comments

Comments
 (0)