Skip to content

Commit

Permalink
feat: add null input handling options for any_value
Browse files Browse the repository at this point in the history
any_value can be used in place of e.g. first() in Spark
but it's missing an option for whether to ignore nulls in
input or not
  • Loading branch information
Blizzara committed Jul 1, 2024
1 parent fe7eba4 commit 9563135
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions extensions/functions_aggregate_generic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ aggregate_functions:
impls:
- args:
- name: x
value: any
value: any1
options:
ignore_nulls:
values: [ "TRUE", "FALSE" ]
nullability: DECLARED_OUTPUT
return: any?
decomposable: MANY
intermediate: any1?
return: any1?

0 comments on commit 9563135

Please sign in to comment.