Skip to main content

metric_scan_and_table_id

Function metric_scan_and_table_id 

Source
fn metric_scan_and_table_id(
    plan: &LogicalPlan,
) -> Option<(TableScan, Expr, u32)>
Expand description

Recognizes only the metric logical-table scan emitted by create_table_scan_plan, and reports the logical table’s id together with the scan: the rewrite’s __table_id = <id> restriction is the logical table the rewrite stands for, so it is the identity a selector over it reads.