You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@jena.apache.org by "afs (via GitHub)" <gi...@apache.org> on 2025/02/22 18:53:35 UTC

[PR] GH-3028: Use OpExtend (BIND) [jena]

afs opened a new pull request, #3029:
URL: https://github.com/apache/jena/pull/3029

   GitHub issue resolved #3028
   
   Pull request Description:
   Use OpExtend (BIND) rather than OpAssign (LET).
   All uses go via a single function for switchability.
   
   ----
   
    - [x] Key commit messages start with the issue number (GH-xxxx)
   
   By submitting this pull request, I acknowledge that I am making a contribution to the Apache Software Foundation under the terms and conditions of the [Contributor's Agreement](https://www.apache.org/licenses/contributor-agreements.html).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org


Re: [PR] GH-3028: Use OpExtend (BIND) [jena]

Posted by "afs (via GitHub)" <gi...@apache.org>.
afs commented on code in PR #3029:
URL: https://github.com/apache/jena/pull/3029#discussion_r1966761718


##########
jena-arq/src/main/java/org/apache/jena/sparql/engine/iterator/QueryIterLateral.java:
##########
@@ -114,7 +124,7 @@ public Op transform(OpBGP opBGP) {
             Op opExec = substitute
                     ? Substitute.substitute(opBGP, substitutions)
                     : opBGP;
-            opExec = OpAssign.create(opExec, assigns);
+            opExec = OpExtend.create(opExec, assigns);

Review Comment:
   Thanks for catching that. It was a change from "assign" to "extend" during the investigation phase of the report!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org


Re: [PR] GH-3028: Use OpExtend (BIND) [jena]

Posted by "afs (via GitHub)" <gi...@apache.org>.
afs commented on code in PR #3029:
URL: https://github.com/apache/jena/pull/3029#discussion_r1966761718


##########
jena-arq/src/main/java/org/apache/jena/sparql/engine/iterator/QueryIterLateral.java:
##########
@@ -114,7 +124,7 @@ public Op transform(OpBGP opBGP) {
             Op opExec = substitute
                     ? Substitute.substitute(opBGP, substitutions)
                     : opBGP;
-            opExec = OpAssign.create(opExec, assigns);
+            opExec = OpExtend.create(opExec, assigns);

Review Comment:
   Thanks for catching that. It was change from "assign" to "extend" in the investigation phase of the report!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org


Re: [PR] GH-3028: Use OpExtend (BIND) [jena]

Posted by "afs (via GitHub)" <gi...@apache.org>.
afs merged PR #3029:
URL: https://github.com/apache/jena/pull/3029


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org


Re: [PR] GH-3028: Use OpExtend (BIND) [jena]

Posted by "Aklakan (via GitHub)" <gi...@apache.org>.
Aklakan commented on code in PR #3029:
URL: https://github.com/apache/jena/pull/3029#discussion_r1966748234


##########
jena-arq/src/main/java/org/apache/jena/sparql/engine/iterator/QueryIterLateral.java:
##########
@@ -114,7 +124,7 @@ public Op transform(OpBGP opBGP) {
             Op opExec = substitute
                     ? Substitute.substitute(opBGP, substitutions)
                     : opBGP;
-            opExec = OpAssign.create(opExec, assigns);
+            opExec = OpExtend.create(opExec, assigns);

Review Comment:
   For consistency also call `assignments(opExec, assigns)` instead?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org