Skip to content

Commit

Permalink
revert whitespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
himadripal committed Dec 5, 2024
1 parent 1c1fc70 commit 68b0f68
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions arrow-cast/src/cast/decimal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,21 +206,21 @@ where
O::Native: DecimalCast + ArrowNativeTypeOp,
{
let array: PrimitiveArray<O> = if input_scale > output_scale {
convert_to_smaller_scale_decimal::<I, O>(
array,
input_scale,
output_precision,
output_scale,
cast_options,
)?
} else {
convert_to_bigger_or_equal_scale_decimal::<I, O>(
array,
input_scale,
output_precision,
output_scale,
cast_options,
)?
convert_to_smaller_scale_decimal::<I, O>(
array,
input_scale,
output_precision,
output_scale,
cast_options,
)?
} else {
convert_to_bigger_or_equal_scale_decimal::<I, O>(
array,
input_scale,
output_precision,
output_scale,
cast_options,
)?
};

Ok(Arc::new(array.with_precision_and_scale(
Expand Down

0 comments on commit 68b0f68

Please sign in to comment.