File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
datafusion/physical-plan/src/repartition Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -620,7 +620,7 @@ impl Stream for OnDemandPerPartitionStream {
620
620
cx : & mut Context < ' _ > ,
621
621
) -> Poll < Option < Self :: Item > > {
622
622
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| {
624
624
internal_datafusion_err ! (
625
625
"Error sending partition number to the receiver for partition {}: {}" ,
626
626
self . partition,
@@ -693,7 +693,7 @@ impl Stream for OnDemandRepartitionStream {
693
693
loop {
694
694
// Send partition number to input partitions
695
695
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| {
697
697
internal_datafusion_err ! (
698
698
"Error sending partition number to the receiver for partition {}: {}" ,
699
699
self . partition,
You can’t perform that action at this time.
0 commit comments