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

Fix nested union test expectations #212

Closed
wants to merge 3 commits into from
Closed

Conversation

johngrimes
Copy link
Collaborator

I updated the expectations of the "union > nested" test, as I think they are incorrect.

My understanding is that unionAll is supposed to have inner join semantics, similar to forEach. This means that if an expression is not matched, the resource should be dropped from the result.

@johngrimes johngrimes added the testing Issues relating to the test suite. label Feb 26, 2024
@johngrimes johngrimes requested review from mput and Yngwarr February 26, 2024 07:41
@johngrimes
Copy link
Collaborator Author

This change is actually not right, after taking another look at the processing model I think the original test case is fine.

See: https://chat.fhir.org/#narrow/stream/179219-analytics-on-FHIR/topic/Nested.20union.20test.20expectations

I've updated our implementation and am withdrawing this.

@johngrimes johngrimes closed this Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Issues relating to the test suite.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant