File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -140,8 +140,8 @@ impl RecordBatchTransformer {
140140 Ok ( match & self . batch_transform {
141141 Some ( BatchTransform :: PassThrough ) => record_batch,
142142 Some ( BatchTransform :: Modify {
143- ref target_schema,
144- ref operations,
143+ target_schema,
144+ operations,
145145 } ) => {
146146 let options = RecordBatchOptions :: default ( )
147147 . with_match_field_names ( false )
@@ -294,7 +294,7 @@ impl RecordBatchTransformer {
294294 Error :: new ( ErrorKind :: Unexpected , "Field not found in snapshot schema" )
295295 ) ?;
296296
297- let default_value = if let Some ( ref iceberg_default_value) =
297+ let default_value = if let Some ( iceberg_default_value) =
298298 & iceberg_field. initial_default
299299 {
300300 let Literal :: Primitive ( primitive_literal) = iceberg_default_value else {
Original file line number Diff line number Diff line change @@ -509,8 +509,8 @@ impl TableScan {
509509
510510 if let Some ( ref bound_predicates) = manifest_entry_context. bound_predicates {
511511 let BoundPredicates {
512- ref snapshot_bound_predicate,
513- ref partition_bound_predicate,
512+ snapshot_bound_predicate,
513+ partition_bound_predicate,
514514 } = bound_predicates. as_ref ( ) ;
515515
516516 let expression_evaluator_cache =
@@ -733,7 +733,7 @@ impl PlanContext {
733733 manifest_list : Arc < ManifestList > ,
734734 tx_data : Sender < ManifestEntryContext > ,
735735 delete_file_idx_and_tx : Option < ( DeleteFileIndex , Sender < ManifestEntryContext > ) > ,
736- ) -> Result < Box < impl Iterator < Item = Result < ManifestFileContext > > > > {
736+ ) -> Result < Box < impl Iterator < Item = Result < ManifestFileContext > > + ' static > > {
737737 let manifest_files = manifest_list. entries ( ) . iter ( ) ;
738738
739739 // TODO: Ideally we could ditch this intermediate Vec as we return an iterator.
You can’t perform that action at this time.
0 commit comments