Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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).
Attachments
Attachments
Issue Links
- relates to
-
CALCITE-872 Add support for aborting the query optimization process
- Open
- supercedes
-
DRILL-2837 Resolve what Statement.cancel() really should do
- Closed