Skip to content

Commit 3cfcdb6

Browse files
Satyam018alambWeijun-H
authored
#15108 issue: "Non Panic Task error" is not an internal error (#15109)
* #15108 issue: "Non Panic Task error" is not an internal error * #15108 issue: "Non Panic Task error" is not an internal error * solved the error * removing unused import * Update datafusion/physical-plan/src/stream.rs Co-authored-by: Alex Huang <[email protected]> * fix --------- Co-authored-by: Andrew Lamb <[email protected]> Co-authored-by: Alex Huang <[email protected]>
1 parent eb62e28 commit 3cfcdb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datafusion/physical-plan/src/stream.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use super::{ExecutionPlan, RecordBatchStream, SendableRecordBatchStream};
2727
use crate::displayable;
2828

2929
use arrow::{datatypes::SchemaRef, record_batch::RecordBatch};
30-
use datafusion_common::{internal_err, Result};
30+
use datafusion_common::{exec_err, Result};
3131
use datafusion_execution::TaskContext;
3232

3333
use futures::stream::BoxStream;
@@ -128,7 +128,7 @@ impl<O: Send + 'static> ReceiverStreamBuilder<O> {
128128
// the JoinSet were aborted, which in turn
129129
// would imply that the receiver has been
130130
// dropped and this code is not running
131-
return Some(internal_err!("Non Panic Task error: {e}"));
131+
return Some(exec_err!("Non Panic Task error: {e}"));
132132
}
133133
}
134134
}

0 commit comments

Comments
 (0)