Skip to main content

finalize_stage

Function finalize_stage 

Source
fn finalize_stage(
    stage: ObjectPlanStage,
    hit_artifacts: &BTreeMap<String, CompiledObjectArtifact>,
) -> ObjectPlanResult
Expand description

Turn a fingerprint-level stage into a final ObjectPlanResult.

For a fingerprint Hit, attempts to reconstruct the typed object by re-parsing the cached SQL fragments. If any fragment fails to parse the entry is treated as a Miss for fresh compilation.