-
Notifications
You must be signed in to change notification settings - Fork 653
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
LATERAL: Unexpectedly unbound variable. #2896
Comments
This could be related to a recent report about substitution interacting with PS - not related directly |
The (lateral
(extend ((?xIn "x"))
(table unit))
(join
(extend ((?foo "foo"))
(table unit))
(project (?xIn ?xOut)
(extend ((?xOut ?xIn))
(table unit))))) Elsewhere (the
Thank you for the report! |
Version
5.3.0-SNAPSHOT
What happened?
I am not sure whether this is according to SEP7 or a bug in Jena:
I am trying to inject a value using lateral into a BIND in a subquery. The following works:
The result is:
However, if in the lateral block there is a Join, then it breaks:
In the result,
?xOut
is (for me) unexpectedly unbound.I think this is a bug in Jena (but perhaps I am misunderstanding something about the scoping rules).
Relevant output and stacktrace
No response
Are you interested in making a pull request?
Maybe
The text was updated successfully, but these errors were encountered: