Expand description
TopK: Combination of Sort / LIMIT
StructsΒ§
- Record
Batch πEntry - Record
Batch πStore - This structure tracks [
RecordBatch] by an id so that: - TopK
- Global TopK
- TopK
Dynamic Filters - TopK
Heap π - This structure keeps at most the smallest k items, using the
[arrow::row] format for sort keys. While it is called βtopKβ for
values like
1, 2, 3, 4, 5the βtop 3β really means the smallest 3 ,1, 2, 3, not the largest 33, 4, 5. - TopK
Metrics π - TopKRow π
- Represents one of the top K rows held in this heap. Orders according to memcmp of row (e.g. the arrow Row format, but could also be primitive values)
ConstantsΒ§
FunctionsΒ§
- build_
sort_ πfields