Skip to content

Commit 0a72732

Browse files
authored
Minor update
1 parent 5d5a4e6 commit 0a72732

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

datafusion/functions/src/unicode/find_in_set.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ fn find_in_set(args: &[ArrayRef]) -> Result<ArrayRef> {
104104
let str_list_array = args[1].as_string_view();
105105
find_in_set_general::<Int32Type, _>(string_array, str_list_array)
106106
}
107-
_ => unreachable!(),
107+
other => {
108+
exec_err!("Unsupported data type {other:?} for function find_in_set")
109+
}
108110
}
109111
}
110112

0 commit comments

Comments
 (0)