Skip to content

Commit e49fe1a

Browse files
author
Bhargava Vadlamani
committed
integral_types_decimal_cast_native_support
1 parent d3aca76 commit e49fe1a

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • native/spark-expr/src/conversion_funcs

native/spark-expr/src/conversion_funcs/cast.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1549,10 +1549,7 @@ fn spark_cast_decimal_to_boolean(
15491549
}
15501550
Ok(Arc::new(result.finish()))
15511551
}
1552-
_ => panic!(
1553-
"{}",
1554-
format!("invalid cast from decimal type: {from_type} to boolean type: {to_type}")
1555-
),
1552+
_ => panic!("invalid cast from decimal type: {from_type} to boolean type: {to_type}"),
15561553
}
15571554
}
15581555
fn spark_cast_nonintegral_numeric_to_integral(

0 commit comments

Comments
 (0)