Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.8.0
-
None
-
None
-
None
Description
Drill provides two sort operators: an in-memory SortBatch and a spillable ExternalSortBatch. The external sort is adaptive: it sorts in memory when it can, and spills when necessary. Perhaps for this reason, the in-memory sort appears to be deprecated (but is not marked as such.)
The in-memory sort has associated test case: TestSort and TestSimpleSort. When run, TestSort actually uses the external sort. TestSimpleSort has a single test case which is disabled.
The result is that no tests exist for the in-memory sort. That operator should be marked as deprecated, or the test cases adjusted to actually exercise the in-memory sort operator.