[
https://issues.apache.org/jira/browse/JENA-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396680#comment-13396680
]
Andy Seaborne edited comment on JENA-261 at 6/19/12 11:21 AM:
--------------------------------------------------------------
Claude:
The spec
http://www.w3.org/TR/sparql11-federated-query/#serviceFailure
says
"""
The failed SERVICE clause is treated as if it had a result of a single solution
with no bindings.
"""
I think this is because it allows the query to continue whereas SILENT
returning no rows, would cause patterns to stop executing when joined together.
was (Author: andy.seaborne):
Claude:
The spec
http://www.w3.org/TR/sparql11-federated-query/#serviceFailure
says
"""
The failed SERVICE clause is treated as if it had a result of a single solution
with no bindings.
"""
I think this is because it allows the query to continue whereas SILENT
retrunign no rows, would cause patterns to stop executing.
> QueryIterService returns an empty solution on exception
> -------------------------------------------------------
>
> Key: JENA-261
> URL: https://issues.apache.org/jira/browse/JENA-261
> Project: Apache Jena
> Issue Type: Bug
> Components: ARQ
> Affects Versions: ARQ 2.9.0, ARQ 2.9.1
> Reporter: Claude Warren
> Attachments: JENA-261_patch.txt
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> in nextStage() when a RuntimeException is caught and the 'silent' parameter
> has been set, a QueryIterSingleton is created. This results in an empty
> solution being returned. I think the proper action would be to return a
> QueryIterNullIterator so that the empty result is not returned.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira