You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Paul Rogers (JIRA)" <ji...@apache.org> on 2016/11/22 00:08:58 UTC

[jira] [Created] (DRILL-5061) Query cancel requests are not synchronous; data still arrives after cancelling

Paul Rogers created DRILL-5061:
----------------------------------

             Summary: Query cancel requests are not synchronous; data still arrives after cancelling
                 Key: DRILL-5061
                 URL: https://issues.apache.org/jira/browse/DRILL-5061
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 1.8.0
            Reporter: Paul Rogers
            Priority: Minor


A test program was written that exercises the external sort operator. Under normal conditions, the query returns 2,880,404 rows in 89 batches.

The program was altered to issue a {{DrillClient.cancelQuery(queryId)}} call on the 4th batch (after 98,304) records.

Expected that the next and subsequent batches would be cancelled.

But, the query continued to deliver data for another 38 batches, for a total of 1,343,488 rows.

The current behavior requires that clients be prepared to receive, and discard, an unlimited number of batches after requesting cancellation.

Expected the server side to do the work instead: cancel the query and discard any unsent batches.



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