Skip to content

Commit

Permalink
feat: add between function (#287)
Browse files Browse the repository at this point in the history
Co-authored-by: Jacques Nadeau <jacques@apache.org>
  • Loading branch information
richtia and jacques-n authored Aug 24, 2022
1 parent 027d230 commit aad6f63
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions extensions/functions_comparison.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,24 @@ scalar_functions:
- value: any1
- value: any1
return: BOOLEAN
-
name: "between"
description: >-
Whether the `expression` is greater than or equal to `low` and less than or equal to `high`.
`expression` BETWEEN `low` AND `high`
impls:
- args:
- value: any1
name: expression
description: The expression to test for in the range defined by `low` and `high`
- value: any1
name: low
description: The value to check if greater than or equal to.
- value: any1
name: high
description: The value to check if less than or equal to.
return: BOOLEAN
-
name: "is_null"
description: Whether a value is null.
Expand Down

0 comments on commit aad6f63

Please sign in to comment.