Skip to content

Commit

Permalink
feat: add nullif function (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisnic authored Aug 17, 2022
1 parent 1bd1bd1 commit dc677c2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions extensions/functions_comparison.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,12 @@ scalar_functions:
- value: fp64
nullability: DECLARED_OUTPUT
return: BOOLEAN
-
name: "nullif"
description: If two values are equal, return null. Otherwise, return the first value.
impls:
- args:
- value: any1
- value: any1
return: any1

0 comments on commit dc677c2

Please sign in to comment.