sszuev commented on issue #1374:
URL: https://github.com/apache/jena/issues/1374#issuecomment-1153164302

   > Where does `Query` cache functions? Do you mean in "E_Function"?
   
   Yes. `org.apache.jena.sparql.expr.E_Function`
   
   > `QueryExecution.create(...).context(cxt)...` will use that and only that 
context.
    
   Ok, I see. 
   
   But replacing `QueryExecutionFactory.create(query, data.getGraph(), 
context)` (from PR) with the expression 
`QueryExecution.create().query(query).model(data).context(context).build()` 
causes test error (where query is `String`, not `Query`). 
   Here 
https://github.com/sszuev/jena/blob/main/jena-arq/src/test/java/org/apache/jena/query/TestQueryExecutionFactory.java#L89
   
   Just found this, didn't dig yet.
   
   > QueryExecutionFactory provides common cases - and it had grown into a bit 
too large. The new-style builders are better for detailed setup.
   
   Ok.
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to