File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -262,8 +262,11 @@ impl<'a> Converter<'a> for Slice2Arrow<'a> {
262262 let emptyrb = arrow:: record_batch:: RecordBatch :: new_empty ( Arc :: new ( schema) ) ;
263263 let c = self . consistent_counter . get ( ) ;
264264 let _ = & self . masterbuilders . sender . clone ( ) . unwrap ( ) . send ( c, emptyrb) ;
265-
266-
265+
266+ // jh.spawn_blocking(async move {threaded_writer.1.await;});
267+ // threaded_writer.1.await.expect("The task being joined has panicked");;
268+
269+
267270 }
268271}
269272
Original file line number Diff line number Diff line change @@ -142,6 +142,12 @@ impl<'a> Slicer<'a> for ResidualSlicer<'a> {
142142 info ! ( "about to shudown converter..." ) ;
143143
144144 converter. shutdown ( threaded_writer. 1 ) ;
145+ // let hhh=threaded_writer.1;
146+ // rt.spawn(async {
147+ // hhh.await.unwrap();
148+ // });
149+
150+ // rt.spawn_blocking(async move {threaded_writer.1.await;});
145151// threaded_writer.1.await.expect("The task being joined has panicked");;
146152 info ! ( "converter has been shutdown" ) ;
147153
You can’t perform that action at this time.
0 commit comments