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

Bugfixes for sum-rel and shortcircuited or/or-join branches #460

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

galdre
Copy link
Contributor

@galdre galdre commented Feb 14, 2024

My previous PR inadvertently broke or/or-join when a branch shortcircuits due to being empty. (Sorry!)

If one branch of an or or or-join short-circuited, the resulting Relation would not have the expected attrs, resulting in Can’t sum relations with different attrs being raised.

This fixes the bug and adds regression tests. Fixing that also exposed an extant bug in same-keys? which is now fixed.

@tonsky tonsky merged commit a536e91 into tonsky:master Feb 15, 2024
@tonsky
Copy link
Owner

tonsky commented Feb 15, 2024

I though of that but hoped we already have tests. Good catch!

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.

2 participants