Skip to content

Commit

Permalink
fix msrv verify problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Lordworms committed Feb 28, 2024
1 parent 07965f4 commit f427dde
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions datafusion/physical-expr/src/functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,14 +241,8 @@ where
arg.clone().into_array(expansion_len)
})
.collect::<Result<Vec<_>>>()?;
use std::any::type_name_of_val;

fn print_type_of<T: ?Sized>(val: &T) {
println!("The type of the variable is: {}", type_name_of_val(val));
}
print_type_of(&args);
let result = (inner)(&args);
print_type_of(&result);
if is_scalar {
// If all inputs are scalar, keeps output as scalar
let result = result.and_then(|arr| ScalarValue::try_from_array(&arr, 0));
Expand Down

0 comments on commit f427dde

Please sign in to comment.