Skip to content

Commit

Permalink
feat: add population option to variance and standard deviation functi…
Browse files Browse the repository at this point in the history
…ons (#295)

BREAKING CHANGE: option argument added to std_dev and variance aggregate functions
  • Loading branch information
vibhatha authored Sep 5, 2022
1 parent e68fdc0 commit c47fffa
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions extensions/functions_arithmetic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c47fffa

Please sign in to comment.