drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Barclay (Drill) (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (DRILL-2884) Have cancel() cause "query canceled" rather than just "ResultSet closed"
Date Mon, 27 Apr 2015 21:36:38 GMT

     [ https://issues.apache.org/jira/browse/DRILL-2884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Barclay (Drill) reassigned DRILL-2884:
---------------------------------------------

    Assignee: Daniel Barclay (Drill)

> Have cancel() cause "query canceled" rather than just "ResultSet closed"
> ------------------------------------------------------------------------
>
>                 Key: DRILL-2884
>                 URL: https://issues.apache.org/jira/browse/DRILL-2884
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Daniel Barclay (Drill)
>            Assignee: Daniel Barclay (Drill)
>
> After Statement.cancel() is called for a SQL statement's execution, a subsequent call
to a method on the ResultSet for that execution yields a "ResultSet already closed" exception.
 (This isn't fully implemented yet, but it is for, e.g., next().)
> A call to cancel() should result in an explicit "execution canceled" exception rather
than the usual "already closed" exception (so that it doesn't seem like a Drill programming
error rather an expected result of canceling).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message