You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2011/02/15 15:45:57 UTC

[jira] Created: (JENA-48) Check use of exception in QueryIterGroup / QueryIterSort .cancel()

Check use of exception in QueryIterGroup / QueryIterSort .cancel()
------------------------------------------------------------------

                 Key: JENA-48
                 URL: https://issues.apache.org/jira/browse/JENA-48
             Project: Jena
          Issue Type: Sub-task
          Components: ARQ
            Reporter: Andy Seaborne
            Assignee: Andy Seaborne
            Priority: Minor


QueryIterAbortCancellationRequestException

Can we use cancelRequest and not risk bypassing iteraors in complex satcks of iteraors (e.g. subqueries)?


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (JENA-48) Check use of exception in QueryIterGroup / QueryIterSort .cancel()

Posted by "Andy Seaborne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995247#comment-12995247 ] 

Andy Seaborne commented on JENA-48:
-----------------------------------

Not only subqueries (which are in SPARQL 1.1 and ARQ).  A query with "group by" and "order by" has nesting of the query processing stages that need cancelling in the middle of processing steps that can take a long time with nothing coming out until the processing is complete.  The subqueries effect means there isn't a fixed structure to the execution plan.


> Check use of exception in QueryIterGroup / QueryIterSort .cancel()
> ------------------------------------------------------------------
>
>                 Key: JENA-48
>                 URL: https://issues.apache.org/jira/browse/JENA-48
>             Project: Jena
>          Issue Type: Sub-task
>          Components: ARQ
>            Reporter: Andy Seaborne
>            Priority: Minor
>
> QueryIterAbortCancellationRequestException
> Can we use cancelRequest and not risk bypassing iteraors in complex satcks of iteraors (e.g. subqueries)?

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (JENA-48) Check use of exception in QueryIterGroup / QueryIterSort .cancel()

Posted by "Simon Helsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995040#comment-12995040 ] 

Simon Helsen commented on JENA-48:
----------------------------------

Andy, I presume this is only an issue for sub queries (which I didn't know were even supported), is that right? Normally I would have expected sorting to be the last action on a query

> Check use of exception in QueryIterGroup / QueryIterSort .cancel()
> ------------------------------------------------------------------
>
>                 Key: JENA-48
>                 URL: https://issues.apache.org/jira/browse/JENA-48
>             Project: Jena
>          Issue Type: Sub-task
>          Components: ARQ
>            Reporter: Andy Seaborne
>            Priority: Minor
>
> QueryIterAbortCancellationRequestException
> Can we use cancelRequest and not risk bypassing iteraors in complex satcks of iteraors (e.g. subqueries)?

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (JENA-48) Check use of exception in QueryIterGroup / QueryIterSort .cancel()

Posted by "Andy Seaborne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JENA-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne closed JENA-48.
-----------------------------


> Check use of exception in QueryIterGroup / QueryIterSort .cancel()
> ------------------------------------------------------------------
>
>                 Key: JENA-48
>                 URL: https://issues.apache.org/jira/browse/JENA-48
>             Project: Jena
>          Issue Type: Sub-task
>          Components: ARQ
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Minor
>
> QueryIterAbortCancellationRequestException
> Can we use cancelRequest and not risk bypassing iteraors in complex satcks of iteraors (e.g. subqueries)?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Assigned: (JENA-48) Check use of exception in QueryIterGroup / QueryIterSort .cancel()

Posted by "Andy Seaborne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JENA-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne reassigned JENA-48:
---------------------------------

    Assignee:     (was: Andy Seaborne)

> Check use of exception in QueryIterGroup / QueryIterSort .cancel()
> ------------------------------------------------------------------
>
>                 Key: JENA-48
>                 URL: https://issues.apache.org/jira/browse/JENA-48
>             Project: Jena
>          Issue Type: Sub-task
>          Components: ARQ
>            Reporter: Andy Seaborne
>            Priority: Minor
>
> QueryIterAbortCancellationRequestException
> Can we use cancelRequest and not risk bypassing iteraors in complex satcks of iteraors (e.g. subqueries)?

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (JENA-48) Check use of exception in QueryIterGroup / QueryIterSort .cancel()

Posted by "Andy Seaborne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994892#comment-12994892 ] 

Andy Seaborne commented on JENA-48:
-----------------------------------

On JENA-29, Simon said:

4) QueryIterAbortCancellationRequestException: this exception is thrown whenever there is an embedded iterator which was cancelled (notably the sort). If I do not "abort" the "cancel", I would still only see at most 1 result instead of all results which the embedded iterator found. If you have a better idea on how to handle this, be my guest, but I was not able to get more than one result when a sorting query was cancelled in the middle

> Check use of exception in QueryIterGroup / QueryIterSort .cancel()
> ------------------------------------------------------------------
>
>                 Key: JENA-48
>                 URL: https://issues.apache.org/jira/browse/JENA-48
>             Project: Jena
>          Issue Type: Sub-task
>          Components: ARQ
>            Reporter: Andy Seaborne
>            Priority: Minor
>
> QueryIterAbortCancellationRequestException
> Can we use cancelRequest and not risk bypassing iteraors in complex satcks of iteraors (e.g. subqueries)?

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (JENA-48) Check use of exception in QueryIterGroup / QueryIterSort .cancel()

Posted by "Andy Seaborne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JENA-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne resolved JENA-48.
-------------------------------

    Resolution: Fixed
      Assignee: Andy Seaborne

This should be covered by JENA-29.


> Check use of exception in QueryIterGroup / QueryIterSort .cancel()
> ------------------------------------------------------------------
>
>                 Key: JENA-48
>                 URL: https://issues.apache.org/jira/browse/JENA-48
>             Project: Jena
>          Issue Type: Sub-task
>          Components: ARQ
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Minor
>
> QueryIterAbortCancellationRequestException
> Can we use cancelRequest and not risk bypassing iteraors in complex satcks of iteraors (e.g. subqueries)?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira