Skip to content

Commit

Permalink
feat: add options for null and nan checking behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisnic committed Aug 10, 2022
1 parent cbb6c26 commit 5e0801b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions extensions/functions_comparison.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ scalar_functions:
description: Whether a value is null.
impls:
- args:
- name: nan_is_null
options: [TRUE, FALSE]
required: false
- value: any1
return: BOOLEAN
nullability: DECLARED_OUTPUT
Expand All @@ -70,6 +73,9 @@ scalar_functions:
description: Whether a value is not null.
impls:
- args:
- name: nan_is_null
options: [TRUE, FALSE]
required: false
- value: any1
return: BOOLEAN
nullability: DECLARED_OUTPUT
Expand All @@ -78,9 +84,15 @@ scalar_functions:
description: Whether a value is not a number.
impls:
- args:
- name: value_for_null
options: [NULL, TRUE, FALSE]
required: false
- value: fp32
return: BOOLEAN
- args:
- name: value_for_null
options: [NULL, TRUE, FALSE]
required: false
- value: fp64
return: BOOLEAN

0 comments on commit 5e0801b

Please sign in to comment.