Skip to content

Commit

Permalink
refactor: add description for null output and string comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
richtia committed Jul 27, 2022
1 parent 2b4ea1f commit dc2616b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions extensions/functions_comparison.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ scalar_functions:
nullability: DECLARED_OUTPUT
-
name: "least"
description: Returns the smallest value from a list of arguments.
description: >-
Returns the smallest value from a list of arguments. Only return null if 'all' arguments evaluate to null.
String comparison is done in lexicographical ordering, one character at a time, from left to right.
Uppercase letters are less than lowercase letters.
impls:
- args:
- value: i8
Expand Down Expand Up @@ -114,7 +118,11 @@ scalar_functions:
return: "string"
-
name: "greatest"
description: Returns the largest value from a list of arguments.
description: >-
Returns the largest value from a list of arguments. Only return null if 'all' arguments evaluate to null.
String comparison is done in lexicographical ordering, one character at a time, from left to right.
Uppercase letters are less than lowercase letters.
impls:
- args:
- value: i8
Expand Down

0 comments on commit dc2616b

Please sign in to comment.