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
CQL2/AT1.6: {p2} and {p3} contribute nothing to result #768
Comments
Thanks, @jerstlouis. All suggestions make sense to me. I will assign this to me. |
Thanks @cportele . I quickly put together this truth table for my suggestion to switch
|
Thanks for your efforts, I will have a look and see if I can come up with something that works better... |
A Karnaugh map might be relevant / helpful ? https://www.youtube.com/watch?v=RO5alU6PpSU Actually sounds really fun to try to come up with something for this. Must resist. |
In Conformance Test 6 for Basic CQL2 Abstract Test, the
{p2}
and{p3}
predicates cannot possibly influence the results.This may not be intended.
The truth table is like so:
which shows that the final result is identical to the last part of the logical expression:
not ({p1} AND {p4})
Perhaps having the
AND
outside and theOR
inside instead would make the test more useful.It would also be highly valuable to include actual features matched count for specific results of the datasets to make testing logical operators easier to implement.
The text was updated successfully, but these errors were encountered: