Skip to content

Commit

Permalink
feat: add any_value aggregate function (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhatha authored Sep 19, 2022
1 parent fe75d4d commit 6f603d3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions extensions/functions_aggregate_generic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ aggregate_functions:
decomposable: MANY
intermediate: i64
return: i64
- name: "any_value"
description: >
Selects an arbitrary value from a group of values.
If the input is empty, the function returns null.
impls:
- args:
- name: x
value: any
nullability: DECLARED_OUTPUT
return: any?

0 comments on commit 6f603d3

Please sign in to comment.