Skip to main content

series_scan

Function series_scan 

Source
fn series_scan(
    scan: &RegionScanExec,
    metric_name: &str,
    tags: &[String],
    fields: &[String],
    target_partitions: usize,
) -> Result<Arc<SeriesScanExec>>
Expand description

The raw-series leaf of a region scan bound to one metric.

The leaf needs a prepared scan: range assignment runs after physical planning and cannot see a SeriesScanExec. Preparation keeps the scan’s parallel layout, and the series-producer contract guarantees that one series stays in one scan partition.