File tree Expand file tree Collapse file tree
datafusion/physical-plan/src/joins Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -736,8 +736,7 @@ impl HashJoinStream {
736736 if need_produce_result_in_final ( self . join_type ) {
737737 let batch_offsets = build_side. left_data . batch_offsets ( ) ;
738738 let mut bitmap = build_side. left_data . visited_indices_bitmap ( ) . lock ( ) ;
739- left_indices. iter ( ) . flatten ( ) . for_each ( |x| {
740- let packed = x as u64 ;
739+ left_indices. iter ( ) . flatten ( ) . for_each ( |packed| {
741740 let batch_idx = ( packed >> 32 ) as usize ;
742741 let row_idx = ( packed & 0xFFFFFFFF ) as usize ;
743742 let flat = batch_offsets[ batch_idx] + row_idx;
Original file line number Diff line number Diff line change @@ -910,6 +910,7 @@ pub(crate) fn get_final_indices_from_bit_map(
910910 ( left_indices, right_indices)
911911}
912912
913+ #[ expect( clippy:: too_many_arguments) ]
913914pub ( crate ) fn apply_join_filter_to_indices (
914915 build_batches : & [ RecordBatch ] ,
915916 probe_batch : & RecordBatch ,
@@ -1878,7 +1879,7 @@ pub(super) fn equal_rows_arr(
18781879
18791880 let mut equal: BooleanArray = eq_dyn_null ( & arr_left, & arr_right, null_equality) ?;
18801881
1881- for key_idx in 1 .. num_keys {
1882+ for ( key_idx, < item > ) in right_arrays . iter ( ) . enumerate ( ) . take ( num_keys) . skip ( 1 ) {
18821883 let arr_left = gather_left_key ( key_idx) ?;
18831884 let arr_right = take ( right_arrays[ key_idx] . as_ref ( ) , indices_right, None ) ?;
18841885 let eq_result =
You can’t perform that action at this time.
0 commit comments