Skip to main content

build_loader

Function build_loader 

Source
pub fn build_loader(plan: &LoadPlan, run_id: &str) -> Box<dyn TargetLoader>
Expand description

The one place a resolved plan’s LoadTarget maps to a concrete TargetLoader adapter — wiring partition / cluster / connection / run-id from the config. The count gate and cleanup are the driver’s, so the adapter carries no expected_rows.