File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
src/query/pipeline/sources/src/processors/sources/input_formats Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ use common_base::base::tokio::sync::mpsc::Sender;
21
21
use common_base:: base:: GlobalIORuntime ;
22
22
use common_base:: base:: TrySpawn ;
23
23
use common_datablocks:: DataBlock ;
24
- use common_exception:: ErrorCode ;
25
24
use common_exception:: Result ;
26
25
use common_pipeline_core:: processors:: port:: OutputPort ;
27
26
use common_pipeline_core:: Pipeline ;
@@ -247,10 +246,9 @@ pub trait InputFormatPipe: Sized + Send + 'static {
247
246
} else {
248
247
batch. truncate ( n) ;
249
248
tracing:: debug!( "read {} bytes" , n) ;
250
- batch_tx
251
- . send ( Ok ( batch. into ( ) ) )
252
- . await
253
- . map_err ( |_| ErrorCode :: UnexpectedError ( "fail to send ReadBatch" ) ) ?;
249
+ if let Err ( e) = batch_tx. send ( Ok ( batch. into ( ) ) ) . await {
250
+ tracing:: warn!( "fail to send ReadBatch: {}" , e) ;
251
+ }
254
252
}
255
253
}
256
254
tracing:: debug!( "finished" ) ;
You can’t perform that action at this time.
0 commit comments