File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -236,11 +236,13 @@ impl<'a> Converter<'a> for Slice2Arrow<'a> {
236236 }
237237
238238 fn setup ( & mut self ) -> ( Sender < RecordBatch > , JoinHandle < Result < Stats > > ) {
239- output_factory (
239+ let o= output_factory (
240240 self . target . clone ( ) ,
241241 self . masterbuilders . schema_factory ( ) ,
242242 self . masterbuilders . outfile . clone ( ) ,
243- )
243+ ) ;
244+ self . masterbuilders . sender =Some ( o. 0 . clone ( ) ) ;
245+ o
244246 }
245247
246248 fn shutdown ( & mut self ) {
Original file line number Diff line number Diff line change @@ -137,6 +137,7 @@ impl arrow_file_output for parquet_file_out {
137137 builder_write_duration : Default :: default ( ) ,
138138 } )
139139 } ) ;
140+ self . sender =Some ( sender. clone ( ) ) ;
140141 ( sender, t)
141142 }
142143}
@@ -201,6 +202,7 @@ impl arrow_file_output for ipc_file_out {
201202 builder_write_duration : Default :: default ( ) ,
202203 } )
203204 } ) ;
205+ self . sender =Some ( sender. clone ( ) ) ;
204206 ( sender, t)
205207 }
206208}
You can’t perform that action at this time.
0 commit comments