Expand description
External merge sort engine for the tile pipeline.
Provides zstd-compressed, columnar chunk-based external sort with k-way merge,
used to sort tile features by (zoom, tile_id, layer, sort_key) when
the dataset exceeds available RAM.
Modulesยง
- block
- The columnar block codec of the sort runs.
- chunk
- Sorted runs on disk: the spill files of the external sort.
- entry
- Sort entry โ the unit of data in the external merge sort.
- error
- The error of the sort runs.
- manifest
- Markers that say whether the sort runs of a folder can be resumed from.
- merge
- K-way merge of sorted chunk files using a min-heap.