diff --git a/extensions/functions_arithmetic_decimal.yaml b/extensions/functions_arithmetic_decimal.yaml index a0f93db24..b62c63484 100644 --- a/extensions/functions_arithmetic_decimal.yaml +++ b/extensions/functions_arithmetic_decimal.yaml @@ -102,6 +102,15 @@ scalar_functions: scale_after_borrow = max(init_scale - delta, min_scale) scale = init_prec > 38 ? scale_after_borrow : init_scale DECIMAL + - + name: "abs" + description: Calculate the absolute value of the argument. + impls: + - args: + - name: x + value: decimal + return: decimal + aggregate_functions: - name: "sum" description: Sum a set of values.