Skip to main content

compute_data_quality_kept

Function compute_data_quality_kept 

Source
pub fn compute_data_quality_kept(
    lf: &LazyFrame,
    total_rows: Option<usize>,
    plan: &DataQualityPlan,
    source: Option<&QualitySourceContext>,
    polars_streaming: bool,
    kept: Option<&QualitySample>,
) -> Result<(DataQualityResults, Option<QualitySample>)>
Expand description

compute_data_quality, cutting kept instead of reading when it serves the plan, and returning the sample a sampled run read so the next run can do the same.