drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Rogers (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-5061) Query cancel requests are not synchronous; data still arrives after cancelling
Date Tue, 22 Nov 2016 00:08:58 GMT
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)

Mime
View raw message