You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
or whose variables no earlier clause binds returns no rows #610
An or placed after other clauses, whose branch variables none of those clauses bind, returns no rows. It should join as a cross product. It only uses patterns, so rules and magic sets are not involved. The same or on its own works.
or-join refuses the same shape with INT-018. So or silently returns an empty answer where or-join reports an error. One of the two needs to change: either or evaluates the shape, or it is refused the same way.
Fixed on v3 by #612 (8e1f771) and backported to main by #613 (c21168f, ships in the next v2.0.x patch). An or sharing no variable with the earlier clauses now joins as a cross product; or-join keeps INT-018, since it filters rather than binds.
Activity
test(or): cross product after a pseudo-attribute clause (#610)
Merge pull request #612 from project-minigraf/fix/610-or-cross-product
fix(or): join an or sharing no variable with earlier clauses as a cro…
adityamukho commentedon Oct 16, 2026
Fixed on v3 by #612 (8e1f771) and backported to main by #613 (c21168f, ships in the next v2.0.x patch). An
orsharing no variable with the earlier clauses now joins as a cross product;or-joinkeeps INT-018, since it filters rather than binds.release: v2.0.7