-
Notifications
You must be signed in to change notification settings - Fork 2
Forbid duplicated variables in VALUES #294
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
base: main
Are you sure you want to change the base?
Conversation
78e11e5
to
0265296
Compare
0265296
to
19d00a7
Compare
Co-authored-by: Olaf Hartig <olaf.hartig@liu.se>
Co-authored-by: Andy Seaborne <andy@apache.org>
334e034
to
bd32e3a
Compare
<p>A <code>VALUES</code> block of data can appear in a query pattern or at the end of a
<code>SELECT</code> query, including a <a href="#subqueries">subquery</a>.</p> It has occurred to me to wonder whether there may be more than one I think the text should be adjusted to make plain whichever of the above is correct. |
The variables must only be unique within each VALUES block. On the level of the algebraic syntax, each VALUES clause becomes a multiset of solution mappings that is joined with the result of other patterns. Hence, if there are two VALUES clauses their respective multiset of solution mappings are joined with one another. |
Co-authored-by: Andy Seaborne <andy@apache.org>
Close #293
Preview | Diff