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 regression in updating equi-join optimization #686

Merged
merged 2 commits into from
Jul 12, 2024

Conversation

mwylde
Copy link
Member

@mwylde mwylde commented Jul 12, 2024

Fixes a regression that broke some updating join queries that were not being properly optimized to equijoins, leading to runtime errors like

should be able to sort: InvalidArgumentError("Sort requires at least one column") panic.file="crates/arroyo-rpc/src/df.rs" panic.line=327 panic.column=68

The primary fix is to re-enable an optimization that was disabled in #623. I have also added test cases for this class of query, and tightened up the planner checks to fail updating queries that do not include an equijoin condition (and thus could produce this runtime error).

@mwylde mwylde enabled auto-merge (squash) July 12, 2024 23:15
@mwylde mwylde merged commit d753102 into master Jul 12, 2024
6 checks passed
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.

1 participant