@@ -201,7 +201,7 @@ impl HashJoinExec {
201201 filter : Option < JoinFilter > ,
202202 join_type : & JoinType ,
203203 partition_mode : PartitionMode ,
204- null_equals_null : & bool ,
204+ null_equals_null : bool ,
205205 ) -> Result < Self > {
206206 let left_schema = left. schema ( ) ;
207207 let right_schema = right. schema ( ) ;
@@ -230,7 +230,7 @@ impl HashJoinExec {
230230 mode : partition_mode,
231231 metrics : ExecutionPlanMetricsSet :: new ( ) ,
232232 column_indices,
233- null_equals_null : * null_equals_null ,
233+ null_equals_null,
234234 } )
235235 }
236236
@@ -265,8 +265,8 @@ impl HashJoinExec {
265265 }
266266
267267 /// Get null_equals_null
268- pub fn null_equals_null ( & self ) -> & bool {
269- & self . null_equals_null
268+ pub fn null_equals_null ( & self ) -> bool {
269+ self . null_equals_null
270270 }
271271}
272272
@@ -402,7 +402,7 @@ impl ExecutionPlan for HashJoinExec {
402402 self . filter . clone ( ) ,
403403 & self . join_type ,
404404 self . mode ,
405- & self . null_equals_null ,
405+ self . null_equals_null ,
406406 ) ?) )
407407 }
408408
@@ -691,7 +691,7 @@ pub fn build_join_indices(
691691 on_probe : & [ Column ] ,
692692 filter : Option < & JoinFilter > ,
693693 random_state : & RandomState ,
694- null_equals_null : & bool ,
694+ null_equals_null : bool ,
695695 hashes_buffer : & mut Vec < u64 > ,
696696 offset : Option < usize > ,
697697 build_side : JoinSide ,
@@ -762,7 +762,7 @@ pub fn build_equal_condition_join_indices(
762762 build_on : & [ Column ] ,
763763 probe_on : & [ Column ] ,
764764 random_state : & RandomState ,
765- null_equals_null : & bool ,
765+ null_equals_null : bool ,
766766 hashes_buffer : & mut Vec < u64 > ,
767767 offset : Option < usize > ,
768768) -> Result < ( UInt64Array , UInt32Array ) > {
@@ -804,7 +804,7 @@ pub fn build_equal_condition_join_indices(
804804 row,
805805 & build_join_values,
806806 & keys_values,
807- * null_equals_null,
807+ null_equals_null,
808808 ) ? {
809809 build_indices. append ( offset_build_index as u64 ) ;
810810 probe_indices. append ( row as u32 ) ;
@@ -1207,7 +1207,7 @@ impl HashJoinStream {
12071207 & self . on_right ,
12081208 self . filter . as_ref ( ) ,
12091209 & self . random_state ,
1210- & self . null_equals_null ,
1210+ self . null_equals_null ,
12111211 & mut hashes_buffer,
12121212 None ,
12131213 JoinSide :: Left ,
@@ -1356,7 +1356,7 @@ mod tests {
13561356 None ,
13571357 join_type,
13581358 PartitionMode :: CollectLeft ,
1359- & null_equals_null,
1359+ null_equals_null,
13601360 )
13611361 }
13621362
@@ -1375,7 +1375,7 @@ mod tests {
13751375 Some ( filter) ,
13761376 join_type,
13771377 PartitionMode :: CollectLeft ,
1378- & null_equals_null,
1378+ null_equals_null,
13791379 )
13801380 }
13811381
@@ -1429,7 +1429,7 @@ mod tests {
14291429 None ,
14301430 join_type,
14311431 PartitionMode :: Partitioned ,
1432- & null_equals_null,
1432+ null_equals_null,
14331433 ) ?;
14341434
14351435 let columns = columns ( & join. schema ( ) ) ;
@@ -2680,7 +2680,7 @@ mod tests {
26802680 & [ Column :: new ( "a" , 0 ) ] ,
26812681 & [ Column :: new ( "a" , 0 ) ] ,
26822682 & random_state,
2683- & false ,
2683+ false ,
26842684 & mut vec ! [ 0 ; right. num_rows( ) ] ,
26852685 None ,
26862686 ) ?;
0 commit comments