Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.6.0
Description
The sorter code does not have its internal invariants well-documented and can be tricky to understand when working on it. E.g. what are the valid states for merged versus initial runs, how are end-of-block cases handled.
This issue is to clean up the sorter code while documenting important invariants as preparatory work for porting the sorter to the new buffer pool.