Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9691E10C16 for ; Wed, 29 Apr 2015 01:15:06 +0000 (UTC) Received: (qmail 32532 invoked by uid 500); 29 Apr 2015 01:15:06 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 32501 invoked by uid 500); 29 Apr 2015 01:15:06 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 32492 invoked by uid 99); 29 Apr 2015 01:15:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Apr 2015 01:15:06 +0000 Date: Wed, 29 Apr 2015 01:15:06 +0000 (UTC) From: "Daniel Barclay (Drill) (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-2884) Have cancel() cause "query canceled" rather than just "ResultSet closed" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-2884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Barclay (Drill) updated DRILL-2884: ------------------------------------------ Attachment: DRILL-2884.2Hygiene.2.patch.txt > 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) > Attachments: DRILL-2884.1Core.1.patch.txt, DRILL-2884.2Hygiene.1.patch.txt, DRILL-2884.2Hygiene.2.patch.txt > > > 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)