Skip to content

Commit

Permalink
feat: add null input handling options for any_value (#652)
Browse files Browse the repository at this point in the history
This adds a "ignore_nulls" option for `any_value` that can be used when
converting e.g. Spark's first()/first_value()/any_value()
  • Loading branch information
Blizzara authored Jul 3, 2024
1 parent 4cf8108 commit 1890e6a
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 1890e6a

Please sign in to comment.