Paul Rogers created DRILL-5060:
----------------------------------
Summary: External Sort does not recognize query cancellation
during long events
Key: DRILL-5060
URL: https://issues.apache.org/jira/browse/DRILL-5060
Project: Apache Drill
Issue Type: Bug
Affects Versions: 1.8.0
Reporter: Paul Rogers
Assignee: Paul Rogers
Priority: Minor
The external sort operator performs in-memory or on-disk sorting. Several
functions within external sort can take an extended time. During this time, the
operator does not check if a query cancellation has occurred. These long events
are:
* Spilling a group of batches to disk
* In-memory sort
Note that "re-spilling" of spill files is covered by the first item above:
re-spill uses the same code to write the new file as is used for the original
"first generation" spill files.
Also, the final merge is handled because the downstream operator will check for
cancellation prior to fetching each batch from the sort operator.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)