Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Aug 27, 2024
1 parent 4177a6b commit 74fa90f
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,7 @@ impl AggregateExpr for AvgDecimal {
fn default_value(&self, _data_type: &DataType) -> Result<ScalarValue> {
match &self.result_data_type {
Decimal128(target_precision, target_scale) => {
Ok(make_decimal128(
None,
*target_precision,
*target_scale,
))
Ok(make_decimal128(None, *target_precision, *target_scale))
}
_ => not_impl_err!(
"The result_data_type of AvgDecimal should be Decimal128 but got{}",
Expand Down

0 comments on commit 74fa90f

Please sign in to comment.