You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by GitBox <gi...@apache.org> on 2022/12/01 17:13:37 UTC

[GitHub] [jena] Aklakan opened a new issue, #1656: Service Enhancer

Aklakan opened a new issue, #1656:
URL: https://github.com/apache/jena/issues/1656

   ### Version
   
   4.7.0-SNAPSHOT
   
   ### What happened?
   
   This is the bug report for the upcoming PR that solves the following 3 issues with the service enhancer plugin:
   
   * A bug in the bulk-query rewriter of the service enhancer omits the ORDER BY on the final query when both LIMIT and ORDER BY are present on the sub-query being looped over:
   ```sparql
   SELECT * {
     VALUES ?s { <foo> <bar> }
     SERVICE <loop:> {
       SELECT * { ?s rdfs:label ?l } ORDER BY ?l LIMIT 1
     }
   }
   ```
   The members of the generated UNION query incorrectly lack the ORDER BY clause.
   
   * We noticed and fixed an issues with the service enhancer on a TDB with default union graph enabled where unexpectedly  triple patterns would not matched against the default graph anymore: 
   ```
   ?s ?p ?o # This pattern matches correctly against the union default graph
   SERVICE <{loop|cache|bulk}:> { ?o ?x ?y } # Used to not match against the default graph anymore.
   ``` 
   
   In essence the solution is to use QueryEngineRegistry (which gives all registered plugins a chance to do their processing) rather than QC.execute.
   
   
   ### Relevant output and stacktrace
   
   _No response_
   
   ### Are you interested in making a pull request?
   
   Yes


-- 
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: issues-unsubscribe@jena.apache.org.apache.org

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


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


[GitHub] [jena] afs commented on issue #1656: Service Enhancer Order By and Union Default Graph Issue

Posted by GitBox <gi...@apache.org>.
afs commented on issue #1656:
URL: https://github.com/apache/jena/issues/1656#issuecomment-1345529517

   @Aklakan - GH [automatically closes issues](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) if the description has:
   
   "resolved #1656" 
   "fixes #1656" 
   ...
   
   but not 
   
   > Fixed issues mentioned in ...


-- 
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: issues-unsubscribe@jena.apache.org

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


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


[GitHub] [jena] afs closed issue #1656: Service Enhancer Order By and Union Default Graph Issue

Posted by GitBox <gi...@apache.org>.
afs closed issue #1656: Service Enhancer Order By and Union Default Graph Issue
URL: https://github.com/apache/jena/issues/1656


-- 
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: issues-unsubscribe@jena.apache.org

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


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