Skip to main content

classify

Function classify 

Source
fn classify(input: &ScanInput, request: &ScanRequest) -> Option<Classification>
Expand description

A file is an exact candidate if all of the following hold:

  • The query time range covers it and every other static filter holds for all of its rows (see AggrFilters).
  • Its manifest row count is known.
  • In a deduplicating region, no other file or memtable may hold a row with the same primary key and timestamp. A multi-row file needs a trusted dedup marker. The footer must still prove uniqueness and all-Put rows.

Returns None for scans whose visible rows can differ from the sources’ rows for reasons other than the files themselves.