Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Functions which require at least one element to return NULL #835

Merged
merged 1 commit into from May 15, 2021

Conversation

dantleech
Copy link
Member

Expression language functions which require at least one element now return
NULL instead of throwing an exception, this allows them to be used with
coalesce

Classing this as a "feature" as there is no sensible way to depend on an
exception being thrown in a functioning test suite.

@dantleech dantleech force-pushed the at-least-one-functions-return-null branch 4 times, most recently from 38a23c7 to 2f26fff Compare May 15, 2021 13:35
Expression language functions which require at least one element now
return NULL instead of throwing an exception, this allows them to be
used with `coalesce`

Classing this as a "feature" as there is no sensible way to depend on an
exception being thrown in a functioning test suite.
@dantleech dantleech force-pushed the at-least-one-functions-return-null branch from 2f26fff to 56a2768 Compare May 15, 2021 13:39
@dantleech dantleech merged commit 77d44b8 into master May 15, 2021
@dantleech dantleech deleted the at-least-one-functions-return-null branch May 15, 2021 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant