From c47fffa83af26f7278a5d7f6501d9eadbd365d30 Mon Sep 17 00:00:00 2001 From: Vibhatha Lakmal Abeykoon Date: Mon, 5 Sep 2022 16:18:08 +0530 Subject: [PATCH] feat: add population option to variance and standard deviation functions (#295) BREAKING CHANGE: option argument added to std_dev and variance aggregate functions --- extensions/functions_arithmetic.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/extensions/functions_arithmetic.yaml b/extensions/functions_arithmetic.yaml index c72df06a4..e7185c80c 100644 --- a/extensions/functions_arithmetic.yaml +++ b/extensions/functions_arithmetic.yaml @@ -1040,6 +1040,9 @@ aggregate_functions: - name: rounding options: [ TIE_TO_EVEN, TIE_AWAY_FROM_ZERO, TRUNCATE, CEILING, FLOOR ] required: false + - name: distribution + options: [ SAMPLE, POPULATION] + required: false - name: x value: fp32 nullability: DECLARED_OUTPUT @@ -1048,6 +1051,9 @@ aggregate_functions: - name: rounding options: [ TIE_TO_EVEN, TIE_AWAY_FROM_ZERO, TRUNCATE, CEILING, FLOOR ] required: false + - name: distribution + options: [ SAMPLE, POPULATION] + required: false - name: x value: fp64 nullability: DECLARED_OUTPUT @@ -1059,6 +1065,9 @@ aggregate_functions: - name: rounding options: [ TIE_TO_EVEN, TIE_AWAY_FROM_ZERO, TRUNCATE, CEILING, FLOOR ] required: false + - name: distribution + options: [ SAMPLE, POPULATION] + required: false - name: x value: fp32 nullability: DECLARED_OUTPUT @@ -1067,6 +1076,9 @@ aggregate_functions: - name: rounding options: [ TIE_TO_EVEN, TIE_AWAY_FROM_ZERO, TRUNCATE, CEILING, FLOOR ] required: false + - name: distribution + options: [ SAMPLE, POPULATION] + required: false - name: x value: fp64 nullability: DECLARED_OUTPUT