Skip to content

Better error message for semijoin predicates#4605

Merged
joshua-spacetime merged 3 commits intomasterfrom
joshua/fix/qb-error-message
Mar 11, 2026
Merged

Better error message for semijoin predicates#4605
joshua-spacetime merged 3 commits intomasterfrom
joshua/fix/qb-error-message

Conversation

@joshua-spacetime
Copy link
Collaborator

@joshua-spacetime joshua-spacetime commented Mar 10, 2026

Description of Changes

and and or are scoped to only a single table. So using them in a semijoin with two tables will fail to compile. Previously this resulted in a gnarly error message (see #4586). This patch improves the error message.

API and ABI breaking changes

None

Expected complexity level and risk

2

Testing

Adds error message assertion tests.

@joshua-spacetime joshua-spacetime added this pull request to the merge queue Mar 11, 2026
Merged via the queue into master with commit f160d30 Mar 11, 2026
34 checks passed
@joshua-spacetime joshua-spacetime deleted the joshua/fix/qb-error-message branch March 11, 2026 02:50
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