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

List equality has an issue whenever null is a value in the list #885

Open
mholck opened this issue Apr 7, 2022 · 1 comment
Open

List equality has an issue whenever null is a value in the list #885

mholck opened this issue Apr 7, 2022 · 1 comment

Comments

@mholck
Copy link

mholck commented Apr 7, 2022

For example {'a'} = {'a'} is true but {'a', null} = {'a', null} returns null rather than true

@c-schuler
Copy link
Contributor

According to the spec, this is the correct behavior for list equality. From the spec: If either argument is null, or contains null elements, the result is null.. List equivalence would return true however.

@JPercival JPercival transferred this issue from cqframework/cql-engine Dec 21, 2022
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

No branches or pull requests

2 participants