From 7e46576fae722244e2fce4fe40da569317cccdd1 Mon Sep 17 00:00:00 2001 From: waralexrom <108349432+waralexrom@users.noreply.github.com> Date: Fri, 22 Dec 2023 14:01:16 +0300 Subject: [PATCH] fix: panic in hash join (#130) --- datafusion/src/physical_plan/hash_join.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion/src/physical_plan/hash_join.rs b/datafusion/src/physical_plan/hash_join.rs index 3963e3237cf8..a47542226837 100644 --- a/datafusion/src/physical_plan/hash_join.rs +++ b/datafusion/src/physical_plan/hash_join.rs @@ -802,7 +802,7 @@ macro_rules! equal_rows_elem { let left_array = $l.as_any().downcast_ref::<$array_type>().unwrap(); let right_array = $r.as_any().downcast_ref::<$array_type>().unwrap(); - match (left_array.is_null($left), left_array.is_null($right)) { + match (left_array.is_null($left), right_array.is_null($right)) { (false, false) => left_array.value($left) == right_array.value($right), _ => false, }